diff options
author | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-12 23:42:55 +0000 |
---|---|---|
committer | jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-11-12 23:42:55 +0000 |
commit | 579de3192088c8390f0dae80dc261367884f2e54 (patch) | |
tree | 1170ab3878f51fd445d6027a86f467434c88a3d5 /libsanitizer | |
parent | 80d62b6e18b9ccdd902109ffba394770579177e0 (diff) | |
download | gcc-579de3192088c8390f0dae80dc261367884f2e54.tar.gz |
* sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily
ifdef out almost the whole source.
* sanitizer_common/sanitizer_common_syscalls.inc: Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204726 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libsanitizer')
-rw-r--r-- | libsanitizer/ChangeLog | 6 | ||||
-rw-r--r-- | libsanitizer/sanitizer_common/sanitizer_common_syscalls.inc | 4 | ||||
-rw-r--r-- | libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc | 2 |
3 files changed, 12 insertions, 0 deletions
diff --git a/libsanitizer/ChangeLog b/libsanitizer/ChangeLog index 3d790fe75d7..a7be6e6745e 100644 --- a/libsanitizer/ChangeLog +++ b/libsanitizer/ChangeLog @@ -1,3 +1,9 @@ +2013-11-12 Jakub Jelinek <jakub@redhat.com> + + * sanitizer_common/sanitizer_platform_limits_linux.cc: Temporarily + ifdef out almost the whole source. + * sanitizer_common/sanitizer_common_syscalls.inc: Likewise. + 2013-11-05 H.J. Lu <hongjiu.lu@intel.com> PR sanitizer/59018 diff --git a/libsanitizer/sanitizer_common/sanitizer_common_syscalls.inc b/libsanitizer/sanitizer_common/sanitizer_common_syscalls.inc index bc097c847d4..ae6a6304dba 100644 --- a/libsanitizer/sanitizer_common/sanitizer_common_syscalls.inc +++ b/libsanitizer/sanitizer_common/sanitizer_common_syscalls.inc @@ -58,6 +58,8 @@ # define COMMON_SYSCALL_POST_FORK(res) #endif +#ifdef SYSCALL_INTERCEPTION + // FIXME: do some kind of PRE_READ for all syscall arguments (int(s) and such). extern "C" { @@ -2722,6 +2724,8 @@ POST_SYSCALL(vfork)(long res) { } } // extern "C" +#endif + #undef PRE_SYSCALL #undef PRE_READ #undef PRE_WRITE diff --git a/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc b/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc index 98702436c4f..a69b11f89fe 100644 --- a/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc +++ b/libsanitizer/sanitizer_common/sanitizer_platform_limits_linux.cc @@ -14,6 +14,7 @@ // userspace headers. // Most "normal" includes go in sanitizer_platform_limits_posix.cc +#ifdef SYSCALL_INTERCEPTION #include "sanitizer_platform.h" #if SANITIZER_LINUX @@ -43,3 +44,4 @@ namespace __sanitizer { } // namespace __sanitizer #endif // SANITIZER_LINUX +#endif |