[LLVMbugs] [Bug 8759] New: Assertion failed: (Symbol->isUndefined() && "Cannot define a symbol twice!")

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Dec 8 15:33:31 PST 2010


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

           Summary: Assertion failed: (Symbol->isUndefined() && "Cannot
                    define a symbol twice!")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mathieu.rene at gmail.com
                CC: llvmbugs at cs.uiuc.edu


LLVM SVN: 121295
CLANG SVN: 121288

mrene:src mrene$ llc -O3 dspkit.bc -o dspkit.s
Assertion failed: (Symbol->isUndefined() && "Cannot define a symbol twice!"),
function EmitLabel, file /Users/mrene/llvm-svn/lib/MC/MCAsmStreamer.cpp, line
265.
0  llc               0x00000001009a8c2d PrintStackTrace(void*) + 38
1  llc               0x00000001009a91e8 SignalHandler(int) + 254
2  libSystem.B.dylib 0x00007fff86c0167a _sigtramp + 26
3  libSystem.B.dylib 0x000000010a8eeae0 _sigtramp + 2211370112
4  llc               0x000000010002a7eb raise + 27
5  llc               0x000000010002a7fb abort + 14
6  llc               0x000000010002a888
__gnu_cxx::new_allocator<llvm::sys::Path>::new_allocator() + 0
7  llc               0x0000000100944f33 (anonymous
namespace)::MCAsmStreamer::EmitLabel(llvm::MCSymbol*) + 83
8  llc               0x0000000100532bda llvm::DwarfDebug::emitDebugInfo() + 258
9  llc               0x000000010053dc65 llvm::DwarfDebug::endModule() + 2013
10 llc               0x0000000100524b27
llvm::AsmPrinter::doFinalization(llvm::Module&) + 527
11 llc               0x00000001008e593f
llvm::FPPassManager::doFinalization(llvm::Module&) + 67
12 llc               0x00000001008e96ca
llvm::FPPassManager::runOnModule(llvm::Module&) + 120
13 llc               0x00000001008e91a0
llvm::MPPassManager::runOnModule(llvm::Module&) + 384
14 llc               0x00000001008ea951
llvm::PassManagerImpl::run(llvm::Module&) + 111
15 llc               0x00000001008ea9b3 llvm::PassManager::run(llvm::Module&) +
33
16 llc               0x000000010002da7b main + 2305
17 llc               0x000000010002cb60 start + 52
Stack dump:
0.    Program arguments: llc -O3 dspkit.bc -o dspkit.s 
1.    Running pass 'Function Pass Manager' on module 'dspkit.bc'.
Illegal instruction
mrene:src mrene$

(gdb) p *Symbol
$1 = {
  static AbsolutePseudoSection = 0x1, 
  Name = {
    static npos = 18446744073709551615, 
    Data = 0x10a8ee4f8 "Linfo_begin10", 
    Length = 13
  }, 
  Section = 0x102a68410, 
  Value = 0x0, 
  IsTemporary = 1, 
  IsUsed = 0
}

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