search for: __sancov_pcs

Displaying 1 result from an estimated 1 matches for "__sancov_pcs".

2017 Jul 29
2
Storing "blockaddress(@function, %block)" in a global variable?
...if (a) *a = 0; } % clang -O1 -c cond.c -fsanitize-coverage=inline-8bit-counters,pc-table -S -o - -emit-llvm @__sancov_gen_.1 = private constant [3 x i8*] [i8* bitcast (void (i64*)* @foo to i8*), i8* blockaddress(@foo, %entry.if.end_crit_edge), i8* blockaddress(@foo, %if.then)], section "__sancov_pcs", align 8 Is this expected to work? If not, is it reasonable to try to make it work? This works almost as I want it to, but not quite entirely: % cat cout.cpp #include <iostream> void Foo() { std::cout << ""; } % clang++ -fsanitize-coverage=inline-8bit-counters,pc-ta...