<html>
    <head>
      <base href="http://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - PPC64: unreachable reached in PPCELFObjectWriter due to missing modifier mapping"
   href="http://llvm.org/bugs/show_bug.cgi?id=15347">15347</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>PPC64: unreachable reached in PPCELFObjectWriter due to missing modifier mapping
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libraries
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>trunk
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Windows NT
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>enhancement
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Backend: PowerPC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kai@redstar.de
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvmbugs@cs.uiuc.edu
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=10069" name="attach_10069" title=".ll file demonstrating the bug">attachment 10069</a> <a href="attachment.cgi?id=10069&action=edit" title=".ll file demonstrating the bug">[details]</a></span>
.ll file demonstrating the bug

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

[u0012540@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.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>