diff options
Diffstat (limited to 'test/tools/sancov/Inputs/test.cpp')
-rw-r--r-- | test/tools/sancov/Inputs/test.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/tools/sancov/Inputs/test.cpp b/test/tools/sancov/Inputs/test.cpp index 5690409a27815..a14b4cb93b009 100644 --- a/test/tools/sancov/Inputs/test.cpp +++ b/test/tools/sancov/Inputs/test.cpp @@ -1,7 +1,7 @@ // compile & generate coverage data using: -// clang++ -g -o test-linux_x86_64 -fsanitize=address -fsanitize-coverage=bb test.cpp foo.cpp -// ASAN_OPTIONS="coverage=1" ./test-linux_x86_64 && mv test-linux_x86_64.*.sancov test-linux_x86_64.sancov -// ASAN_OPTIONS="coverage=1" ./test-linux_x86_64 1 && mv test-linux_x86_64.*.sancov test-linux_x86_64-1.sancov +// clang++ -g -o test-linux_x86_64 -fsanitize=address -fsanitize-coverage=bb test.cpp ../Inputs/foo.cpp +// ASAN_OPTIONS="coverage=1" ./test-linux_x86_64 && mv test-linux_x86_64.??*.sancov test-linux_x86_64.0.sancov +// ASAN_OPTIONS="coverage=1" ./test-linux_x86_64 1 && mv test-linux_x86_64.??*.sancov test-linux_x86_64.1.sancov #include <stdio.h> #include <string> |