1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 20:23:11 +01:00

[sancov] add __sanitizer_cov_trace_pc_guard to the supported coverage points

llvm-svn: 284509
This commit is contained in:
Kostya Serebryany 2016-10-18 18:11:42 +00:00
parent aa738cf89b
commit 6dd77412fd

View File

@ -652,9 +652,11 @@ getCoveragePoints(const std::string &ObjectFile,
static bool isCoveragePointSymbol(StringRef Name) {
return Name == "__sanitizer_cov" || Name == "__sanitizer_cov_with_check" ||
Name == "__sanitizer_cov_trace_func_enter" ||
Name == "__sanitizer_cov_trace_pc_guard" ||
// Mac has '___' prefix
Name == "___sanitizer_cov" || Name == "___sanitizer_cov_with_check" ||
Name == "___sanitizer_cov_trace_func_enter";
Name == "___sanitizer_cov_trace_func_enter" ||
Name == "___sanitizer_cov_trace_pc_guard";
}
// Locate __sanitizer_cov* function addresses inside the stubs table on MachO.