[PATCH] D93140: [sanitizer] Restrict querying VM size on Darwin only to iOS devices
Kuba (Brecka) Mracek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 14 10:50:04 PST 2020
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rGf276c008984d: [sanitizer] Restrict querying VM size on Darwin only to iOS devices (authored by kubamracek).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D93140/new/
https://reviews.llvm.org/D93140
Files:
compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
Index: compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
+++ compiler-rt/lib/sanitizer_common/sanitizer_mac.cpp
@@ -1066,7 +1066,7 @@
return *_NSGetArgv();
}
-#if SANITIZER_IOS
+#if SANITIZER_IOS && !SANITIZER_IOSSIM
// The task_vm_info struct is normally provided by the macOS SDK, but we need
// fields only available in 10.12+. Declare the struct manually to be able to
// build against older SDKs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93140.311652.patch
Type: text/x-patch
Size: 535 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201214/c6730a6c/attachment.bin>
More information about the llvm-commits
mailing list