[LLVMbugs] [Bug 561] NEW: llvm-gcc -g and longjmp don't get along

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue May 10 06:03:33 PDT 2005


http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=561

           Summary: llvm-gcc -g and longjmp don't get along
           Product: tools
           Version: 1.4
          Platform: Macintosh
        OS/Version: MacOS X
            Status: NEW
          Severity: normal
          Priority: P2
         Component: llvm-gcc
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: mflatt at cs.utah.edu


Compiling
 #include <setjmp.h>
 jmp_buf buf;
 void f() {  longjmp(buf, 1); }

with
  llvm-gcc -g -c <file>

produces 
 While deleting:  %dbg.tmp.2
 Use still stuck around after Def is destroyed:  %dbg.tmp.3 = call {  }* %llvm.dbg.stoppoint( {  }* 
%dbg.tmp.2, uint 9, uint 0, %lldb.compile_unit* %d.compile_unit )           ; <{  }*> [#uses=1]

 Value.cpp:58: failed assertion `Uses.begin() == Uses.end() &&"Uses remain when a value is 
destroyed!"'
 llvm-gcc: Internal error: Abort trap (program as)



------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




More information about the llvm-bugs mailing list