diff options
author | Kostya Serebryany <kcc@google.com> | 2013-09-10 13:16:26 +0000 |
---|---|---|
committer | Kostya Serebryany <kcc@google.com> | 2013-09-10 13:16:26 +0000 |
commit | 34e3ed1db94c5ce9784d7ffb8d66a54cf523e09c (patch) | |
tree | e6a23489ee359fc2cabc950852b8961294bc2109 /lib/asan/asan_interface_internal.h | |
parent | 1e7a3d7ebebf7e2b7b44e2946d33ae127b94c064 (diff) |
[asan] refactor the use-after-return API so that the size class is computed at compile time instead of at run-time. compiler-rt part
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@190406 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/asan/asan_interface_internal.h')
-rw-r--r-- | lib/asan/asan_interface_internal.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/asan/asan_interface_internal.h b/lib/asan/asan_interface_internal.h index 48ff05d88..b067b3820 100644 --- a/lib/asan/asan_interface_internal.h +++ b/lib/asan/asan_interface_internal.h @@ -58,15 +58,6 @@ extern "C" { SANITIZER_INTERFACE_ATTRIBUTE void __asan_after_dynamic_init(); - // These two functions are used by the instrumented code in the - // use-after-return mode. __asan_stack_malloc allocates size bytes of - // fake stack and __asan_stack_free poisons it. real_stack is a pointer to - // the real stack region. - SANITIZER_INTERFACE_ATTRIBUTE - uptr __asan_stack_malloc(uptr size, uptr real_stack); - SANITIZER_INTERFACE_ATTRIBUTE - void __asan_stack_free(uptr ptr, uptr size, uptr real_stack); - // These two functions are used by instrumented code in the // use-after-scope mode. They mark memory for local variables as // unaddressable when they leave scope and addressable before the |