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

            Bug ID: 39992
           Summary: llvm-dwarfdump fails to compute R_X86_64_DTPOFF64
                    relocation in object
           Product: tools
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P
         Component: llvm-dwarfdump
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Take the following trivial source code:

// test.cpp
thread_local int tdata = 24;

and build it with debug information:

C:\llvm\build\Debug\bin\clang.exe --target=x86_64-pc-linux -c bar.cpp -g

llvm-dwarfdump emits an error when any dumping operation is performed on the
resultant ELF object (although it does then go on to successfully dump the
requested information):

C:\Work\TempWork> C:\llvm\build\Debug\bin\llvm-dwarfdump.exe -debug-str test.o
error: failed to compute relocation: R_X86_64_DTPOFF64, Invalid data was
encountered while parsing the file
<snip>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to