[LLVMbugs] [Bug 16493] New: PPC64: unsupported relocation modifier in Dwarf debug info crashes llc

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Jun 29 15:33:32 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=16493

            Bug ID: 16493
           Summary: PPC64: unsupported relocation modifier in Dwarf debug
                    info crashes llc
           Product: libraries
           Version: trunk
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: Backend: PowerPC
          Assignee: unassignedbugs at nondot.org
          Reporter: kai at redstar.de
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

Created attachment 10796
  --> http://llvm.org/bugs/attachment.cgi?id=10796&action=edit
.ll file crashing llc

Run llc -filetype=obj -O0 ppcbug.ll using the attached file ppcbug.ll.

This results in the following assertion error:

Unsupported Modifier
UNREACHABLE executed at
/home/u0012540/llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp:303!

Root cause seems to be the debug info for the TLS variable.

LLVM generates 

.quad   FE_DFL_ENV at DTPOFF

Similar C code generates with ggc:

.quad   FE_DFL_ENV at dtprel+0x8000

-- 
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/20130629/b779cfe8/attachment.html>


More information about the llvm-bugs mailing list