Skip to content

Commit be3f509

Browse files
p-x9rlavaee
authored andcommitted
[DWARF] Fix redundant DW_AT_ prefix in HANDLE_DW_AT definition for INTEL_other_endian (llvm#145336)
The prefix 'DW_AT_' is automatically added by macro expansion in consumers of Dwarf.def. Having it explicitly in the macro argument results in duplicated naming such as DW_AT_DW_AT_INTEL_other_endian.
1 parent 9b016ef commit be3f509

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/BinaryFormat/Dwarf.def

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -475,7 +475,7 @@ HANDLE_DW_AT(0x2029, HP_is_result_param, 0, HP)
475475
// HANDLE_DW_AT(0x2004, CPQ_split_lifetimes_rtn, 0, COMPAQ)
476476
// HANDLE_DW_AT(0x2005, CPQ_prologue_length, 0, COMPAQ)
477477

478-
HANDLE_DW_AT(0x2026, DW_AT_INTEL_other_endian, 0, INTEL)
478+
HANDLE_DW_AT(0x2026, INTEL_other_endian, 0, INTEL)
479479

480480
// Green Hills.
481481
HANDLE_DW_AT(0x2083, GHS_rsm, 0, GHS)

0 commit comments

Comments
 (0)