Created
June 10, 2013 21:49
-
-
Save tjfontaine/5752706 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localhost:~ tjfontaine$ clang -O1 -mllvm -debug-pass=Arguments t.c | |
t.c:4:13: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' | |
void *f = malloc(0); | |
^ | |
t.c:4:13: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc' | |
t.c:5:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] | |
free(f); | |
^ | |
Pass Arguments: -targetdata -targetlibinfo -no-aa -tbaa -basicaa -simplifycfg -domtree -scalarrepl -early-cse -lower-expect | |
Pass Arguments: -targetdata -targetlibinfo -no-aa -tbaa -basicaa -globalopt -ipsccp -deadargelim -instcombine -simplifycfg -basiccg -prune-eh -always-inline -functionattrs -scalarrepl-ssa -domtree -early-cse -simplify-libcalls -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loop-simplify -lcssa -indvars -loop-idiom -loop-deletion -memdep -memcpyopt -sccp -instcombine -lazy-value-info -jump-threading -correlated-propagation -domtree -memdep -dse -adce -simplifycfg -instcombine -strip-dead-prototypes | |
Pass Arguments: -targetdata -targetlibinfo -targetpassconfig -no-aa -tbaa -basicaa -collector-metadata -machinemoduleinfo -machine-branch-prob -domtree -loops -loop-simplify -scalar-evolution -loop-simplify -iv-users -loop-reduce -gc-lowering -unreachableblockelim -codegenprepare -stack-protector -domtree -loops -branch-prob -expand-isel-pseudos -tailduplication -opt-phis -machinedomtree -slotindexes -stack-coloring -localstackalloc -dead-mi-elimination -machinedomtree -machine-loops -machinelicm -machine-cse -machine-sink -peephole-opts -processimpdefs -unreachable-mbb-elimination -livevars -phi-node-elimination -twoaddressinstruction -slotindexes -liveintervals -livedebugvars -simple-register-coalescing -livestacks -calcspillweights -virtregmap -liveregmatrix -edge-bundles -spill-code-placement -virtregrewriter -stack-slot-coloring -machinelicm -edge-bundles -prologepilog -branch-folder -tailduplication -machine-cp -postrapseudos -machinedomtree -machine-loops -post-RA-sched -gc-analysis -machine-block-freq -block-placement2 | |
2 warnings generated. | |
localhost:~ tjfontaine$ clang -O2 -mllvm -debug-pass=Arguments t.c | |
t.c:4:13: warning: implicitly declaring library function 'malloc' with type 'void *(unsigned long)' | |
void *f = malloc(0); | |
^ | |
t.c:4:13: note: please include the header <stdlib.h> or explicitly provide a declaration for 'malloc' | |
t.c:5:3: warning: implicit declaration of function 'free' is invalid in C99 [-Wimplicit-function-declaration] | |
free(f); | |
^ | |
Pass Arguments: -targetdata -targetlibinfo -no-aa -tbaa -basicaa -simplifycfg -domtree -scalarrepl -early-cse -lower-expect | |
Pass Arguments: -targetdata -targetlibinfo -no-aa -tbaa -basicaa -globalopt -ipsccp -deadargelim -instcombine -simplifycfg -basiccg -prune-eh -inline -functionattrs -scalarrepl-ssa -domtree -early-cse -simplify-libcalls -lazy-value-info -jump-threading -correlated-propagation -simplifycfg -instcombine -tailcallelim -simplifycfg -reassociate -domtree -loops -loop-simplify -lcssa -loop-rotate -licm -lcssa -loop-unswitch -instcombine -scalar-evolution -loop-simplify -lcssa -indvars -loop-idiom -loop-deletion -loop-unroll -memdep -gvn -memdep -memcpyopt -sccp -instcombine -lazy-value-info -jump-threading -correlated-propagation -domtree -memdep -dse -adce -simplifycfg -instcombine -strip-dead-prototypes -globaldce -constmerge | |
Pass Arguments: -targetdata -targetlibinfo -targetpassconfig -no-aa -tbaa -basicaa -collector-metadata -machinemoduleinfo -machine-branch-prob -domtree -loops -loop-simplify -scalar-evolution -loop-simplify -iv-users -loop-reduce -gc-lowering -unreachableblockelim -codegenprepare -stack-protector -domtree -loops -branch-prob -expand-isel-pseudos -tailduplication -opt-phis -machinedomtree -slotindexes -stack-coloring -localstackalloc -dead-mi-elimination -machinedomtree -machine-loops -machinelicm -machine-cse -machine-sink -peephole-opts -processimpdefs -unreachable-mbb-elimination -livevars -phi-node-elimination -twoaddressinstruction -slotindexes -liveintervals -livedebugvars -simple-register-coalescing -livestacks -calcspillweights -virtregmap -liveregmatrix -edge-bundles -spill-code-placement -virtregrewriter -stack-slot-coloring -machinelicm -edge-bundles -prologepilog -branch-folder -tailduplication -machine-cp -postrapseudos -machinedomtree -machine-loops -post-RA-sched -gc-analysis -machine-block-freq -block-placement2 | |
2 warnings generated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment