Skip to content

Instantly share code, notes, and snippets.

@hyviquel
Created March 23, 2018 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hyviquel/78ad139dac82472ee92edfefb2683930 to your computer and use it in GitHub Desktop.
Save hyviquel/78ad139dac82472ee92edfefb2683930 to your computer and use it in GitHub Desktop.
Assertion failed: (Val && "isa<> used on a null pointer"), function doit, file /Users/hyviquel/Workspace/repos/llvm-new/include/llvm/Support/Casting.h, line 95.
0 libLLVMSupport.dylib 0x000000010eac98bc llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 92
1 libLLVMSupport.dylib 0x000000010eac9c57 PrintStackTraceSignalHandler(void*) + 25
2 libLLVMSupport.dylib 0x000000010eac7fbc llvm::sys::RunSignalHandlers() + 138
3 libLLVMSupport.dylib 0x000000010eac932c SignalHandler(int) + 270
4 libsystem_platform.dylib 0x00007fff5a17df5a _sigtramp + 26
Stack dump:
0. Program arguments: /Users/hyviquel/Workspace/build/llvm-new-build-gcc/bin/clang-4.0 -cc1 -triple x86_64-unknown-linux-spark -aux-triple x86_64-unknown-linux-gnu -emit-obj -mrelax-all -disable-free -main-file-name mat-mul.c -mrelocation-model pic -pic-level 2 -mthread-model posix -mdisable-fp-elim -fmath-errno -masm-verbose -mconstructor-aliases -munwind-tables -target-cpu x86-64 -target-linker-version 305 -dwarf-column-info -debugger-tuning=gdb -resource-dir /Users/hyviquel/Workspace/build/llvm-new-build-gcc/bin/../lib/clang/4.0.0 -internal-isystem /usr/local/include -internal-isystem /Users/hyviquel/Workspace/build/llvm-new-build-gcc/bin/../lib/clang/4.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -internal-isystem /usr/local/include -internal-isystem /Users/hyviquel/Workspace/build/llvm-new-build-gcc/bin/../lib/clang/4.0.0/include -internal-externc-isystem /include -internal-externc-isystem /usr/include -fdebug-compilation-dir /Users/hyviquel/Workspace/build/llvm-new-build-gcc -ferror-limit 19 -fmessage-length 204 -fopenmp -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-diagnostics -o /var/folders/9m/wdvm_6597t920tvxb4v17td40000gn/T/mat-mul-e6b4d5.o -x c /Users/hyviquel/Workspace/repos/ompcloud-dev/test/mat-mul.c -fopenmp-is-device -fopenmp-host-ir-file-path /var/folders/9m/wdvm_6597t920tvxb4v17td40000gn/T/mat-mul-3f2778.bc
1. /Users/hyviquel/Workspace/repos/ompcloud-dev/test/mat-mul.c:19:1: current parser token 'int'
2. /Users/hyviquel/Workspace/repos/ompcloud-dev/test/mat-mul.c:6:6: LLVM IR generation of declaration 'MatMul'
3. /Users/hyviquel/Workspace/repos/ompcloud-dev/test/mat-mul.c:9:31: LLVM IR generation of compound statement ('{}')
4. /Users/hyviquel/Workspace/repos/ompcloud-dev/test/mat-mul.c:10:33: LLVM IR generation of compound statement ('{}')
clang-4.0: error: unable to execute command: Abort trap: 6
clang-4.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 4.0.0 (git@github.com:clang-ykt/clang.git cea2703970667f4a05b11b37620ab8e9815a5f38) (git@github.com:clang-ykt/llvm.git 21dc24f7935912bd9a72df1e8e932023fcd15ff4)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /Users/hyviquel/Workspace/build/llvm-new-build-gcc/bin
clang-4.0: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
clang-4.0: note: diagnostic msg: Error generating preprocessed source(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment