llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Marco Vanotti (mvanotti) <details> <summary>Changes</summary> The callback for indirect calls is `__sanitizer_cov_trace_pc_indir`, not `__sanitizer_cov_trace_pc_indirect`. See: https://github.com/llvm/llvm-project/blob/de5ea2d122c31e1551654ff506c33df299f351b8/compiler-rt/lib/sanitizer_common/sanitizer_interface_internal.h#L120 --- Full diff: https://github.com/llvm/llvm-project/pull/104715.diff 1 Files Affected: - (modified) clang/docs/SanitizerCoverage.rst (+1-1) ``````````diff diff --git a/clang/docs/SanitizerCoverage.rst b/clang/docs/SanitizerCoverage.rst index 45ad03cb43774c..e5bfcb554e6b2b 100644 --- a/clang/docs/SanitizerCoverage.rst +++ b/clang/docs/SanitizerCoverage.rst @@ -37,7 +37,7 @@ The compiler will also insert calls to a module constructor: __sanitizer_cov_trace_pc_guard_init(uint32_t *start, uint32_t *stop); With an additional ``...=trace-pc,indirect-calls`` flag -``__sanitizer_cov_trace_pc_indirect(void *callee)`` will be inserted on every indirect call. +``__sanitizer_cov_trace_pc_indir(void *callee)`` will be inserted on every indirect call. The functions `__sanitizer_cov_trace_pc_*` should be defined by the user. `````````` </details> https://github.com/llvm/llvm-project/pull/104715 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits