citrun

watch C/C++ source code execute
Log | Files | Refs | LICENSE

commit b101e5a7e4a4468403d837963de7ccfcc0256762
parent 866ca7cfeec1d1719bc9135fab984c1d7aa5541e
Author: Kyle Milz <kyle@getaddrinfo.net>
Date:   Sun, 10 Apr 2016 14:47:03 -0600

man: expand some info in instrument

Diffstat:
Msrc/citrun_instrument.1 | 19++++++++++++++-----
1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/src/citrun_instrument.1 b/src/citrun_instrument.1 @@ -13,12 +13,21 @@ Instead is called from compiler named symlinks put on the PATH by .Xr citrun_wrap 1 . -This makes adding instrumentation nearly transparent to the native build system -with no special modifications necessary. +This makes adding instrumentation transparent to the native build system with no +special modifications necessary. .Pp -Instrumentation will be attempted on any source files found on the command line. -When instrumentation is successful original source file paths are switched with -instrumented ones and then native compilation takes place. +Instrumentation will be attempted on any arguments found on the command line +that have one of the following suffixes: +.Pp +.Bl -tag -width Ds -offset indent -compact +.It c +.It cc +.It cpp +.It cxx +.El +.Pp +When instrumentation is successful original source file paths are replaced with +instrumented ones. Finally the real compiler is called. .Pp When application link commands are detected flags for the citrun runtime are automatically added.