Re: [PATCH] D21753: Comprehensive Static Instrumentation (2/2): Clang flag

2016-07-14 Thread Derek Bruening via cfe-commits
bruening added inline comments. Comment at: docs/CSI.rst:30 @@ +29,3 @@ +To create a CSI tool, add ``#include `` at the top of the tool source +and implement function bodies for the hooks relevant to the tool. + Are there any constraints on what libraries the tool

Re: [PATCH] D21753: Comprehensive Static Instrumentation (2/2): Clang flag

2016-07-06 Thread Derek Bruening via cfe-commits
bruening added inline comments. Comment at: docs/CSI.rst:78 @@ +77,3 @@ +Notice that in the final stage of linking, the tool user also needs to link in +the static library of the CSI runtime to produce the final TIX. The runtime +archive is distributed under the ``build/lib/clang

Re: [PATCH] D21753: Comprehensive Static Instrumentation (2/2): Clang flag

2016-06-30 Thread Derek Bruening via cfe-commits
bruening added inline comments. Comment at: docs/CSI.rst:75 @@ +74,3 @@ + % clang++ -c -O3 -g -fcsi -emit-llvm bar.cpp -o bar.o + % clang++ foo.o bar.o my-tool.o libclang_rt.csi-x86_64.a -fuse-ld=gold -flto -lrt -ldl -o foo + See below: the sanitizers pass the

r270641 - [esan|wset] Add working set tool driver flags

2016-05-24 Thread Derek Bruening via cfe-commits
Author: bruening Date: Tue May 24 19:41:24 2016 New Revision: 270641 URL: http://llvm.org/viewvc/llvm-project?rev=270641&view=rev Log: [esan|wset] Add working set tool driver flags Summary: Adds a new -fsanitize=efficiency-working-set flag to enable esan's working set tool. Adds appropriate test

r267059 - [esan] EfficiencySanitizer driver flags

2016-04-21 Thread Derek Bruening via cfe-commits
Author: bruening Date: Thu Apr 21 16:32:04 2016 New Revision: 267059 URL: http://llvm.org/viewvc/llvm-project?rev=267059&view=rev Log: [esan] EfficiencySanitizer driver flags Summary: Adds a framework to enable the instrumentation pass for the new EfficiencySanitizer ("esan") family of tools. Ad