[clang] Support MemProf on darwin (PR #69640)
Teresa Johnson via cfe-commits
cfe-commits at lists.llvm.org
Thu Oct 26 20:17:50 PDT 2023
================
@@ -43,6 +43,7 @@ enum class align_val_t : size_t {};
ReportOutOfMemory(size, &stack); \
return res;
+#if !SANITIZER_APPLE
----------------
teresajohnson wrote:
How do operator new and delete get intercepted on Apple?
Also, are OPERATOR_NEW_BODY* and OPERATOR_DELETE_BODY* macros needed if these interceptors are not included - can the whole thing be put under "#if !SANITIZER_APPLE"?
https://github.com/llvm/llvm-project/pull/69640
More information about the cfe-commits
mailing list