[llvm-bugs] [Bug 39992] New: llvm-dwarfdump fails to compute R_X86_64_DTPOFF64 relocation in object

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Dec 13 05:00:13 PST 2018


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: unassignedbugs at nondot.org
          Reporter: jh7370.2008 at my.bristol.ac.uk
                CC: llvm-bugs at lists.llvm.org

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20181213/e779f04e/attachment.html>


More information about the llvm-bugs mailing list