[PATCH] D131728: [MSAN] add flag to suppress storage of stack variable names with -sanitize-memory-track-origins
Vitaly Buka via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 11 18:16:01 PDT 2022
vitalybuka added inline comments.
================
Comment at: compiler-rt/lib/msan/msan.cpp:635
+ SetAllocaOrigin(a, size, id_ptr, nullptr,
+ StackTrace::GetPreviousInstructionPc(GET_CALLER_PC()));
+}
----------------
remove StackTrace::GetPreviousInstructionPc
================
Comment at: compiler-rt/lib/msan/msan_interface_internal.h:116
+void __msan_set_alloca_origin_no_descr(void *a, uptr size, u32 *id_ptr,
+ uptr pc);
+SANITIZER_INTERFACE_ATTRIBUTE
----------------
pc is not needed
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131728/new/
https://reviews.llvm.org/D131728
More information about the llvm-commits
mailing list