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: [email protected]
          Reporter: [email protected]
                CC: [email protected]
    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@DTPOFF

Similar C code generates with ggc:

.quad   FE_DFL_ENV@dtprel+0x8000

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to