[LLVMbugs] [Bug 7958] New: debug info assertion failure compiling tramp3d for ARM

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Aug 21 12:07:03 PDT 2010


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

           Summary: debug info assertion failure compiling tramp3d for ARM
           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 thumb2-O0 nightly tester had a regression last night building
MultiSource/Benchmarks/tramp3d-v4:

Assertion failed: (DirName.empty() == false && "Invalid directory name!"),
function GetOrCreateSourceID, file
/Volumes/LocalHD/bwilson/alt/llvm/lib/CodeGen/AsmPrinter/DwarfDebug.cpp, line
1745.
0  llc               0x0000000100c2b515 PrintStackTrace(void*) + 53
1  llc               0x0000000100c2ba33 SignalHandler(int) + 371
2  libSystem.B.dylib 0x00007fff875b335a _sigtramp + 26
3  libSystem.B.dylib 0x00007fff5fbfebb8 _sigtramp + 3630479480
4  llc               0x0000000100053338 abort + 40
5  llc               0x0000000100053304 __assert_rtn + 132
6  llc               0x0000000100660996
llvm::DwarfDebug::GetOrCreateSourceID(llvm::StringRef, llvm::StringRef) + 166
7  llc               0x0000000100661194
llvm::DwarfDebug::addSourceLine(llvm::DIE*, llvm::DIType) + 276
8  llc               0x00000001006651b9
llvm::DwarfDebug::constructTypeDIE(llvm::DIE&, llvm::DIDerivedType) + 393
9  llc               0x00000001006634e2
llvm::DwarfDebug::getOrCreateTypeDIE(llvm::DIType) + 658
10 llc               0x00000001006652b3 llvm::DwarfDebug::addType(llvm::DIE*,
llvm::DIType) + 211
11 llc               0x00000001006650fa
llvm::DwarfDebug::constructTypeDIE(llvm::DIE&, llvm::DIDerivedType) + 202
12 llc               0x00000001006634e2
llvm::DwarfDebug::getOrCreateTypeDIE(llvm::DIType) + 658
13 llc               0x00000001006652b3 llvm::DwarfDebug::addType(llvm::DIE*,
llvm::DIType) + 211
14 llc               0x0000000100663ecf
llvm::DwarfDebug::createSubprogramDIE(llvm::DISubprogram, bool) + 1919
15 llc               0x0000000100664a91
llvm::DwarfDebug::constructTypeDIE(llvm::DIE&, llvm::DICompositeType) + 1025
16 llc               0x0000000100663418
llvm::DwarfDebug::getOrCreateTypeDIE(llvm::DIType) + 456
17 llc               0x00000001006652b3 llvm::DwarfDebug::addType(llvm::DIE*,
llvm::DIType) + 211
18 llc               0x00000001006650fa
llvm::DwarfDebug::constructTypeDIE(llvm::DIE&, llvm::DIDerivedType) + 202
19 llc               0x00000001006634e2
llvm::DwarfDebug::getOrCreateTypeDIE(llvm::DIType) + 658
20 llc               0x00000001006652b3 llvm::DwarfDebug::addType(llvm::DIE*,
llvm::DIType) + 211
21 llc               0x0000000100663ecf
llvm::DwarfDebug::createSubprogramDIE(llvm::DISubprogram, bool) + 1919
22 llc               0x0000000100663186
llvm::DwarfDebug::addToContextOwner(llvm::DIE*, llvm::DIDescriptor) + 326
23 llc               0x0000000100663528
llvm::DwarfDebug::getOrCreateTypeDIE(llvm::DIType) + 728
24 llc               0x00000001006652b3 llvm::DwarfDebug::addType(llvm::DIE*,
llvm::DIType) + 211
25 llc               0x0000000100667967
llvm::DwarfDebug::constructVariableDIE(llvm::DbgVariable*, llvm::DbgScope*) +
631
26 llc               0x00000001006686f1
llvm::DwarfDebug::constructScopeDIE(llvm::DbgScope*) + 657
27 llc               0x000000010066878b
llvm::DwarfDebug::constructScopeDIE(llvm::DbgScope*) + 811
28 llc               0x000000010066878b
llvm::DwarfDebug::constructScopeDIE(llvm::DbgScope*) + 811
29 llc               0x000000010066878b
llvm::DwarfDebug::constructScopeDIE(llvm::DbgScope*) + 811
30 llc               0x00000001006733d6
llvm::DwarfDebug::endFunction(llvm::MachineFunction const*) + 1702
31 llc               0x000000010064f760 llvm::AsmPrinter::EmitFunctionBody() +
2352
32 llc               0x00000001001e3f34
llvm::AsmPrinter::runOnMachineFunction(llvm::MachineFunction&) + 52
33 llc               0x000000010021857c (anonymous
namespace)::ARMAsmPrinter::runOnMachineFunction(llvm::MachineFunction&) + 76
34 llc               0x00000001007589f1
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 97
35 llc               0x0000000100b2be75
llvm::FPPassManager::runOnFunction(llvm::Function&) + 389
36 llc               0x0000000100b2c1f1
llvm::FPPassManager::runOnModule(llvm::Module&) + 129
37 llc               0x0000000100b2c42c
llvm::MPPassManager::runOnModule(llvm::Module&) + 476
38 llc               0x0000000100b2cb79
llvm::PassManagerImpl::run(llvm::Module&) + 185
39 llc               0x0000000100b2cfed llvm::PassManager::run(llvm::Module&) +
29
40 llc               0x00000001000549b9 main + 2985
41 llc               0x0000000100053e00 start + 52

I reproduced this with llc from svn trunk @111741.  I've attached a bitcode
file to reproduce it.  (It's big.  Sorry, bugpoint crashed on this.)  To
reproduce run:
llc -mtriple=thumbv7-apple-darwin -O0 -relocation-model=pic -mcpu=cortex-a8
tramp3d-v4-llvm.bc

-- 
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