[LLVMbugs] [Bug 5197] New: Assertion failed: (DSI != DbgScopeMap.end() && " Unable to find variable scope!")

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Thu Oct 15 10:00:38 PDT 2009


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

           Summary: Assertion failed: (DSI != DbgScopeMap.end() && "Unable
                    to find variable scope!")
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: pawel.worach at gmail.com
                CC: llvmbugs at cs.uiuc.edu
            Blocks: 3696


Created an attachment (id=3660)
 --> (http://llvm.org/bugs/attachment.cgi?id=3660)
genmodes.i.gz

Assert during the build of gcc.

# clang -g -c genmodes.i
<warnings>
Assertion failed: (DSI != DbgScopeMap.end() && "Unable to find variable
scope!"), function CollectVariableInfo, file DwarfDebug.cpp, line 1816.
Stack dump:
0.      Program arguments: /usr/opt/llvm/bin/../libexec/clang-cc -triple
x86_64-unknown-freebsd8.0 -S -disable-free -main-file-name genmodes.i
--relocation-model static --disable-fp-elim --unwind-tables=1 --mcpu=x86-64
--fmath-errno=1 -g -fexceptions=0 -fdiagnostics-show-option -o /tmp/cc-uYpafl.s
-x cpp-output genmodes.i 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'X86 AT&T-Style Assembly Printer' on function
'@emit_mode_class'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)

I could not reproduce this with llc. -g is essential on the command line for
the crash.


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