citrun

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

commit cf9674eedd45e3d88eae105c3ea459407672d57a
parent ec1f0293c4007b511cacb4d48f7c0803cfbd7e7d
Author: kyle <kyle@0x30.net>
Date:   Mon, 16 Jan 2017 22:40:19 -0700

inst: use #line in preamble so that instrumented line numbers match

Diffstat:
Minst_action.cc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/inst_action.cc b/inst_action.cc @@ -116,6 +116,7 @@ citrun_constructor() #ifdef __cplusplus } #endif +#line 1 )"; clang::SourceLocation start = sm.getLocForStartOfFile(main_fid);