Skip to content

Commit 702bd31

Browse files
committed
Added needed additional clang options into documentation as well
1 parent 1ba4273 commit 702bd31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/running.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ SMACK should report no errors for this example.
107107

108108
Under the hood, SMACK first compiles the example into an LLVM bitcode file using Clang:
109109
```Shell
110-
clang -c -Wall -emit-llvm -O0 -g -I../../share/smack/include simple.c -o simple.bc
110+
clang -c -Wall -emit-llvm -O0 -g -Xclang -disable-O0-optnone -I../../share/smack/include simple.c -o simple.bc
111111
```
112112
We use the `-g` flag to compile with debug information enabled, which the SMACK
113113
verifier leverages to generate more informative error traces. Then, the generated bitcode

0 commit comments

Comments
 (0)