[llvm-commits] [compiler-rt] r171199 - /compiler-rt/trunk/include/sanitizer/asan_interface.h

Kostya Serebryany kcc at google.com
Fri Dec 28 07:28:19 PST 2012


Author: kcc
Date: Fri Dec 28 09:28:19 2012
New Revision: 171199

URL: http://llvm.org/viewvc/llvm-project?rev=171199&view=rev
Log:
[asan] one more change missed at r171198

Modified:
    compiler-rt/trunk/include/sanitizer/asan_interface.h

Modified: compiler-rt/trunk/include/sanitizer/asan_interface.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/include/sanitizer/asan_interface.h?rev=171199&r1=171198&r2=171199&view=diff
==============================================================================
--- compiler-rt/trunk/include/sanitizer/asan_interface.h (original)
+++ compiler-rt/trunk/include/sanitizer/asan_interface.h Fri Dec 28 09:28:19 2012
@@ -117,6 +117,11 @@
   bool __asan_address_is_poisoned(void const volatile *addr)
       SANITIZER_INTERFACE_ATTRIBUTE;
 
+  // If at least on byte in [beg, beg+size) is poisoned, return the address
+  // of the first such byte. Otherwise return 0.
+  uptr __asan_region_is_poisoned(uptr beg, uptr size)
+      SANITIZER_INTERFACE_ATTRIBUTE;
+
   // This is an internal function that is called to report an error.
   // However it is still a part of the interface because users may want to
   // set a breakpoint on this function in a debugger.





More information about the llvm-commits mailing list