summaryrefslogtreecommitdiff
path: root/lib/sanitizer_common/sanitizer_mac.cc
diff options
context:
space:
mode:
authorAlexander Potapenko <glider@google.com>2015-04-01 17:56:29 +0000
committerAlexander Potapenko <glider@google.com>2015-04-01 17:56:29 +0000
commit06dcedbe140962d536e109a010e25f184a63fa05 (patch)
tree27fda41831614b32595489f323b1648b4feb3f74 /lib/sanitizer_common/sanitizer_mac.cc
parent8621ba26095009f804cb7643ca28a4c90934d741 (diff)
[ASan] Make the remaining coverage tests pass on Darwin, move them to Posix/
This CL: - moves PrepareForSandboxing() to sanitizer_posix_libcdep.cc - fixes the coverage tests to use flag substitutions defined in r233802 and not rely on hardcoded shared library names - moves those tests to TestCases/Posix so that they can be executed on Darwin git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@233828 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_mac.cc')
-rw-r--r--lib/sanitizer_common/sanitizer_mac.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/lib/sanitizer_common/sanitizer_mac.cc b/lib/sanitizer_common/sanitizer_mac.cc
index 91a5b7d93..05eb0be70 100644
--- a/lib/sanitizer_common/sanitizer_mac.cc
+++ b/lib/sanitizer_common/sanitizer_mac.cc
@@ -220,11 +220,6 @@ void ReExec() {
UNIMPLEMENTED();
}
-void PrepareForSandboxing(__sanitizer_sandbox_arguments *args) {
- (void)args;
- // Nothing here for now.
-}
-
uptr GetPageSize() {
return sysconf(_SC_PAGESIZE);
}