[compiler-rt] [rtsan] Support basic call stack suppressions (PR #111608)
Chris Apple via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 10 14:38:32 PDT 2024
================
@@ -72,12 +72,10 @@ bool __rtsan::IsStackTraceSuppressed(const StackTrace &stack) {
if (!suppression_ctx->HasSuppressionType(call_stack_flag))
return false;
- Symbolizer *symbolizer = Symbolizer::GetOrInit();
- Suppression *s;
-
for (uptr i = 0; i < stack.size && stack.trace[i]; i++) {
const uptr addr = stack.trace[i];
+ Symbolizer *symbolizer = Symbolizer::GetOrInit();
----------------
cjappl wrote:
Sorry, reading the comment in my email pointed me to the wrong line and I didn't engage critically. Thanks for double checking.
https://github.com/llvm/llvm-project/pull/111608
More information about the llvm-commits
mailing list