dwarf_loader: Add conditional DW_FORM_implicit_const definition for older systems
This made the build fail on libbpf CI on systems where DW_FORM_implicit_const isn't defined, so do it conditionally. Reported-by: Andrii Nakryiko <andrii@kernel.org> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
66d12e4790
commit
8d6f06f053
|
@ -46,6 +46,10 @@ struct strings *strings;
|
|||
#define DW_TAG_call_site_parameter 0x49
|
||||
#endif
|
||||
|
||||
#ifndef DW_FORM_implicit_const
|
||||
#define DW_FORM_implicit_const 0x21
|
||||
#endif
|
||||
|
||||
#define hashtags__fn(key) hash_64(key, HASHTAGS__BITS)
|
||||
|
||||
bool no_bitfield_type_recode = true;
|
||||
|
|
Loading…
Reference in New Issue