You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran clang-6.0 in ubuntu 18.04. I am getting segmentation fault when I run this command. Could someone please help me?
Command:
clang-6.0 -Xclang -load -Xclang ../Spindle/Spindle/libSpindlePass.so -O2 -c test_loop_out_of_bound.c -o testloop.o
Output:
Begin: test_loop_out_of_bound.c
Function 0: main
Function 1: llvm.lifetime.start.p0i8
Function 2: sprintf
Function 3: llvm.lifetime.end.p0i8
Base: %1 = alloca [1000 x i32], align 16
inst: %9 = load i32, i32* %8, align 4, !tbaa !2
%1 = alloca [1000 x i32], align 16base
load inst ptr: %8 = getelementptr inbounds [1000 x i32], [1000 x i32]* %1, i64 0, i64 %7
Instrumenting for main
Writing static trace
End
clang-6.0: error: unable to execute command: Segmentation fault (core dumped)
clang-6.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/tjtron/Downloads/Spindle-master/test/../../clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04/bin
clang-6.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-6.0: error: unable to execute command: Segmentation fault (core dumped)
clang-6.0: note: diagnostic msg: Error generating preprocessed source(s).
The text was updated successfully, but these errors were encountered:
I ran clang-6.0 in ubuntu 18.04. I am getting segmentation fault when I run this command. Could someone please help me?
Command:
clang-6.0 -Xclang -load -Xclang ../Spindle/Spindle/libSpindlePass.so -O2 -c test_loop_out_of_bound.c -o testloop.o
Output:
Begin: test_loop_out_of_bound.c
Function 0: main
Function 1: llvm.lifetime.start.p0i8
Function 2: sprintf
Function 3: llvm.lifetime.end.p0i8
Base: %1 = alloca [1000 x i32], align 16
inst: %9 = load i32, i32* %8, align 4, !tbaa !2
%1 = alloca [1000 x i32], align 16base
load inst ptr: %8 = getelementptr inbounds [1000 x i32], [1000 x i32]* %1, i64 0, i64 %7
Instrumenting for main
Writing static trace
End
clang-6.0: error: unable to execute command: Segmentation fault (core dumped)
clang-6.0: error: clang frontend command failed due to signal (use -v to see invocation)
clang version 6.0.0 (tags/RELEASE_600/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/tjtron/Downloads/Spindle-master/test/../../clang+llvm-6.0.0-x86_64-linux-gnu-ubuntu-16.04/bin
clang-6.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-6.0: error: unable to execute command: Segmentation fault (core dumped)
clang-6.0: note: diagnostic msg: Error generating preprocessed source(s).
The text was updated successfully, but these errors were encountered: