[LLVMbugs] [Bug 10927] New: Assertion `0 && "Unexpected builtin type NullPtr"' failed.

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Sep 14 15:09:01 PDT 2011


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

           Summary: Assertion `0 && "Unexpected builtin type NullPtr"'
                    failed.
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: LLVM Codegen
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: oroppas at gmail.com
                CC: llvmbugs at cs.uiuc.edu


As of r139736 I've got:

clang-3.0:
/home/ryuta/devel/llvm/src/llvm/tools/clang/lib/CodeGen/CGDebugInfo.cpp:305:
llvm::DIType clang::CodeGen::CGDebugInfo::CreateType(const clang::BuiltinType
*): Assertion `0 && "Unexpected builtin type NullPtr"' failed.
Stack dump:
0.    Program arguments: /usr/bin/clang-3.0 -cc1 -triple
x86_64-unknown-linux-gnu -emit-obj -disable-free -main-file-name Module.cpp
-pic-level 2 -mdisable-fp-elim -masm-verbose -mconstructor-aliases
-munwind-tables -target-cpu x86-64 -momit-leaf-frame-pointer -g -coverage-file
CMakeFiles/ocelot.dir/ocelot/ir/implementation/Module.cpp.o -resource-dir
/usr/bin/../lib/clang/3.0 -D ocelot_EXPORTS -D _GNU_SOURCE -D
__STDC_LIMIT_MACROS -D __STDC_CONSTANT_MACROS -I
/home/ryuta/devel/ocelot/src/gpuocelot/ocelot -I
/home/ryuta/devel/ocelot/build/clang -stdlib=libc++ -fmodule-cache-path
/var/tmp/clang-module-cache -O1 -Werror -Wall -Wextra -Wno-unused-parameter
-Wwrite-strings -Wno-long-long -Wno-overloaded-virtual -Wno-unused-comparison
-std=c++0x -fconst-strings -fdeprecated-macro -ferror-limit 19 -fmessage-length
159 -fcxx-exceptions -fexceptions -fdiagnostics-show-option -fcolor-diagnostics
-o CMakeFiles/ocelot.dir/ocelot/ir/implementation/Module.cpp.o -x c++
/home/ryuta/devel/ocelot/src/gpuocelot/ocelot/ocelot/ir/implementation/Module.cpp 
1.   
/home/ryuta/devel/ocelot/src/gpuocelot/ocelot/ocelot/ir/implementation/Module.cpp:37:1:
current parser token 'ir'
2.   
/home/ryuta/devel/ocelot/src/gpuocelot/ocelot/ocelot/ir/implementation/Module.cpp:32:13:
LLVM IR generation of declaration 'ir::Module::Module'
3.   
/home/ryuta/devel/ocelot/src/gpuocelot/ocelot/ocelot/ir/implementation/Module.cpp:32:13:
Generating code for declaration 'ir::Module::Module'
clang-3: error: unable to execute command: Aborted
clang-3: error: clang frontend command failed due to signal 2 (use -v to see
invocation)
clang-3: note: diagnostic msg: Please submit a bug report to
http://llvm.org/bugs/ and include command line arguments and all diagnostic
information.
clang-3: note: diagnostic msg: Preprocessed source(s) are located at:
clang-3: note: diagnostic msg: /tmp/Module-MenJLl.ii
make[2]: *** [CMakeFiles/ocelot.dir/ocelot/ir/implementation/Module.cpp.o]
Error 254
make[1]: *** [CMakeFiles/ocelot.dir/all] Error 2
make: *** [all] Error 2

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