Skip to content

Commit 7f43a56

Browse files
committed
In the anticipation of unit tests, show how to emit an AST from clang
Eventually we will compare the AST emitted by TESLA clang with that of a manually annotated C program. svn:r635
1 parent baf660a commit 7f43a56

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

kernel/tesla-clang

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
################################################################################
77

88
TESLA_ARGS="-Xclang -load -Xclang TeslaInstrumenter.so -Xclang -add-plugin -Xclang tesla -Xclang -plugin-arg-tesla -Xclang instrumentation.spec -no-integrated-as"
9+
#TESLA_ARGS="-cc1 -ast-print"
10+
#TESLA_ARGS="-cc1 -load TeslaInstrumenter.so -add-plugin tesla -plugin-arg-tesla instrumentation.spec -ast-print"
911

1012
ARGS="$TESLA_ARGS $*"
1113

0 commit comments

Comments
 (0)