[compiler-rt] [asan][win][msvc] override new and delete and seperate TUs (PR #68754)

Vitaly Buka via llvm-commits llvm-commits at lists.llvm.org
Sun Oct 15 17:47:45 PDT 2023


================
@@ -60,8 +75,16 @@ u32 GetMallocContextSize();
 #define GET_STACK_TRACE_MALLOC                                                 \
   GET_STACK_TRACE(GetMallocContextSize(), common_flags()->fast_unwind_on_malloc)
 
+#define GET_STACK_TRACE_MALLOC_WIN(pc, bp, caller_pc, extra_context)      \
----------------
vitalybuka wrote:

If they are rely _WIN then maybe move them into compiler-rt/lib/asan/asan_stack_win.h
If not, maybe rename to something general.

https://github.com/llvm/llvm-project/pull/68754


More information about the llvm-commits mailing list