[LLVMbugs] [Bug 10480] New: Assertion failed: (FD->isUsed() && "Sema didn't mark implicit function as used!"), function GetOrCreateLLVMFunction, file CodeGenModule.cpp, line 925.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 25 08:22:47 PDT 2011


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

           Summary: Assertion failed: (FD->isUsed() && "Sema didn't mark
                    implicit function as used!"), function
                    GetOrCreateLLVMFunction, file CodeGenModule.cpp, line
                    925.
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: FreeBSD
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: rdivacky at freebsd.org
                CC: llvmbugs at cs.uiuc.edu


pes delta-2006.08.03$ clang++ app.cc
app.cc:51:15: warning: control reaches end of non-void function [-Wreturn-type]
              }
              ^
Assertion failed: (FD->isUsed() && "Sema didn't mark implicit function as
used!"), function GetOrCreateLLVMFunction, file CodeGenModule.cpp, line 931.
Stack dump:
0.      Program arguments: /usr/local/bin/clang -cc1 -triple
x86_64-unknown-freebsd8.2 -emit-obj -mrelax-all -disable-free -main-file-name
app.cc -mrelocation-model static -mdisable-fp-elim -masm-verbose
-mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version
2.15 -momit-leaf-frame-pointer -resource-dir /usr/local/bin/../lib/clang/3.0
-fdeprecated-macro -ferror-limit 19 -fmessage-length 152 -fcxx-exceptions
-fexceptions -fdiagnostics-show-option -fcolor-diagnostics -o /tmp/cc-wAY1mz.o
-x c++ app.cc 
1.      <eof> parser at end of file
2.      Per-file LLVM IR generation
3.      app.cc:63:43: Generating code for declaration
'Gtk::UI::Items::Array<Gtk::UI::Items::SubTree>::create'
4.      app.cc:69:98: LLVM IR generation of compound statement ('{}')
5.      app.cc:70:34: LLVM IR generation of compound statement ('{}')
clang: error: unable to execute command: Abort trap: 6 (core dumped)
clang: error: clang frontend command failed due to signal 2 (use -v to see
invocation)

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