diff options
author | Marcos Pividori <mpividori@google.com> | 2017-01-31 20:23:14 +0000 |
---|---|---|
committer | Marcos Pividori <mpividori@google.com> | 2017-01-31 20:23:14 +0000 |
commit | fb6776b8a058067cb3688cef95cde9472e68fd35 (patch) | |
tree | a5d0e3f34d0c16a5cb6930878740f310ee8ecc42 /lib/sanitizer_common/sanitizer_common_libcdep.cc | |
parent | f23ad2699336efbce3d9f1a6d98f8e1352d0bb18 (diff) |
[sanitizer] Define as weak, functions that are declared as weak.
Differential Revision: https://reviews.llvm.org/D29228
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@293681 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_common_libcdep.cc')
-rw-r--r-- | lib/sanitizer_common/sanitizer_common_libcdep.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/sanitizer_common/sanitizer_common_libcdep.cc b/lib/sanitizer_common/sanitizer_common_libcdep.cc index 49ca961f3..e96db6dd6 100644 --- a/lib/sanitizer_common/sanitizer_common_libcdep.cc +++ b/lib/sanitizer_common/sanitizer_common_libcdep.cc @@ -162,8 +162,8 @@ void MaybeStartBackgroudThread() { } // namespace __sanitizer -void NOINLINE -__sanitizer_sandbox_on_notify(__sanitizer_sandbox_arguments *args) { +SANITIZER_INTERFACE_WEAK_DEF(void, __sanitizer_sandbox_on_notify, + __sanitizer_sandbox_arguments *args) { __sanitizer::PrepareForSandboxing(args); if (__sanitizer::sandboxing_callback) __sanitizer::sandboxing_callback(); |