https://bugs.llvm.org/show_bug.cgi?id=50473

            Bug ID: 50473
           Summary: [ARM] RELA relocations not resolved correctly  for
                    32-bit little endian ARM
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: Object
          Assignee: unassignedb...@nondot.org
          Reporter: wolfgang_p...@playstation.sony.com
                CC: llvm-bugs@lists.llvm.org

Created attachment 24888
  --> https://bugs.llvm.org/attachment.cgi?id=24888&action=edit
Object file with stub .debug_info etc.

The object file produced by the attached yaml file (with yaml2obj) subsequently
is not processed correctly by llvm-dwarfdump because of RELA relocations not
being resolved correctly:

> yaml2obj obj.yaml > x.o
> llvm-dwarfdump -i x.o

x.o:    file format elf32-littlearm

.debug_info contents:
0x00000000: Compile Unit: length = 0x00000025, format = DWARF32, version =
0x0002, abbr_offset = 0x0000, addr_size = 0x04 (next unit at 0x00000029)

0x0000000b: DW_TAG_compile_unit
              DW_AT_name        ("wrong")
              DW_AT_comp_dir    ("wrong")
              DW_AT_producer    ("wrong")
              DW_AT_language    (DW_LANG_C_plus_plus)
              DW_AT_stmt_list   (0x00000000)
              DW_AT_low_pc      (0x00000000)
              DW_AT_high_pc     (0x00000000)

0x00000025:   NULL

We expect the string "correct" to be displayed for first 3 attributes.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to