[LLVMbugs] [Bug 6847] New: llvm-gcc build broken for ARM due to debug info

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Apr 15 09:52:00 PDT 2010


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

           Summary: llvm-gcc build broken for ARM due to debug info
           Product: libraries
           Version: trunk
          Platform: Macintosh
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Common Code Generator Code
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: bob.wilson at apple.com
                CC: llvmbugs at cs.uiuc.edu


My nightly build of llvm-gcc for ARM failed last night.  I've attached a
reduced testcase, and I've verified that it still fails on trunk.  It appears
to be related to debug info.  To reproduce:

$ llc -mtriple=arm-apple-darwin < testcase.ll

The failure is:
Assertion failed: (SubUsed && "Using an undefined register!"), function
forward, file
/Users/bwilson/local/llvm/llvm/lib/CodeGen/RegisterScavenging.cpp, line 193.
0  llc               0x00000001008a4364 PrintStackTrace(void*) + 38
1  llc               0x00000001008a4844 SignalHandler(int) + 312
2  libSystem.B.dylib 0x00007fff8422beaa _sigtramp + 26
3  libSystem.B.dylib 0x00007fff841d0bea tiny_malloc_from_free_list + 1196
4  libSystem.B.dylib 0x00007fff842a7e74 __pthread_markcancel + 0
5  llc               0x00000001005cd564 llvm::RegScavenger::forward() + 1148
6  llc               0x00000001001fea01
llvm::RegScavenger::forward(llvm::ilist_iterator<llvm::MachineInstr>) + 109
7  llc               0x0000000100599f46
llvm::PEI::scavengeFrameVirtualRegs(llvm::MachineFunction&) + 1444
8  llc               0x000000010059b9c4
llvm::PEI::runOnMachineFunction(llvm::MachineFunction&) + 458
9  llc               0x000000010055a407
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 85
10 llc               0x00000001008224f8
llvm::FPPassManager::runOnFunction(llvm::Function&) + 348
11 llc               0x0000000100823a67
llvm::FunctionPassManagerImpl::run(llvm::Function&) + 79
12 llc               0x0000000100823c2e
llvm::FunctionPassManager::run(llvm::Function&) + 136
13 llc               0x000000010002eb85 main + 2914
14 llc               0x000000010002d890 start + 52
15 llc               0x0000000000000002 start + 4294780838
Stack dump:
0.    Program arguments: /Users/bwilson/local/llvm/install/bin/llc
-mtriple=arm-apple-darwin 
1.    Running pass 'Prolog/Epilog Insertion & Frame Finalization' on function
'@__addvsi3'
Abort trap

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list