[LLVMbugs] [Bug 15347] New: PPC64: unreachable reached in PPCELFObjectWriter due to missing modifier mapping

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sun Feb 24 21:34:34 PST 2013


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

            Bug ID: 15347
           Summary: PPC64: unreachable reached in PPCELFObjectWriter due
                    to missing modifier mapping
           Product: libraries
           Version: trunk
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          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 10069
  --> http://llvm.org/bugs/attachment.cgi?id=10069&action=edit
.ll file demonstrating the bug

The attached .ll file produces this failure with the command line llc -O3
-filetype=obj lifetime1.ll:

[u0012540 at 172-29-171-183 build-ldc]$ llc -O1 -filetype=obj lifetime1.ll
Unsupported Modifier
UNREACHABLE executed at
/home/u0012540/llvm/lib/Target/PowerPC/MCTargetDesc/PPCELFObjectWriter.cpp:155!
0  llc       0x0000000011669834 llvm::sys::PrintStackTrace(_IO_FILE*) +
4286051804
1  llc       0x0000000011669b8c
2  llc       0x0000000011669310
3            0x00000fffa8e20418 __kernel_sigtramp_rt64 + 0
4  libc.so.6 0x00000080ab4c6ef8 abort + 4293479848
5  llc       0x000000001160bb1c llvm::llvm_unreachable_internal(char const*,
char const*, unsigned int) + 4285693876
6  llc       0x0000000010aafe10
7  llc       0x0000000010ab000c
8  llc       0x000000001152ca3c
9  llc       0x000000001152ed6c
10 llc       0x0000000011556e34
llvm::MCAssembler::handleFixup(llvm::MCAsmLayout const&, llvm::MCFragment&,
llvm::MCFixup const&) + 4285012748
11 llc       0x00000000115573f4 llvm::MCAssembler::Finish() + 4285014188
12 llc       0x000000001159b9bc llvm::MCObjectStreamer::FinishImpl() +
4285268212
13 llc       0x0000000011587804 llvm::MCELFStreamer::FinishImpl() + 4285192236
14 llc       0x00000000115a3c60 llvm::MCStreamer::Finish() + 4285298808
15 llc       0x0000000010ad49f0 llvm::AsmPrinter::doFinalization(llvm::Module&)
+ 4274757400
16 llc       0x00000000107b2c90
17 llc       0x00000000114db42c
llvm::FPPassManager::doFinalization(llvm::Module&) + 4284552260
18 llc       0x00000000114dba34 llvm::MPPassManager::runOnModule(llvm::Module&)
+ 4284553788
19 llc       0x00000000114dc120 llvm::PassManagerImpl::run(llvm::Module&) +
4284555464
20 llc       0x00000000114dc53c llvm::PassManager::run(llvm::Module&) +
4284556340
21 llc       0x0000000010408518
22 llc       0x0000000010407490 main + 4268011896
23 libc.so.6 0x00000080ab4abcf8
24 libc.so.6 0x00000080ab4abef0 __libc_start_main + 4293374496
Stack dump:
0.      Program arguments: llc -O1 -filetype=obj lifetime1.ll
Aborted (core dumped)

Root cause is a missing mapping for the VK_PPC_TPREL16_LO modifier.

-- 
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/20130225/7a411446/attachment.html>


More information about the llvm-bugs mailing list