[llvm-commits] [compiler-rt] r172730 - /compiler-rt/trunk/lib/ubsan/ubsan_type_hash.h

Will Dietz wdietz2 at illinois.edu
Thu Jan 17 09:14:13 PST 2013


Author: wdietz2
Date: Thu Jan 17 11:14:12 2013
New Revision: 172730

URL: http://llvm.org/viewvc/llvm-project?rev=172730&view=rev
Log:
[ubsan] Add SANITIZER_INTERFACE_ATTRIBUTE to __ubsan_vptr_type_cache

Missed this one previously.

Modified:
    compiler-rt/trunk/lib/ubsan/ubsan_type_hash.h

Modified: compiler-rt/trunk/lib/ubsan/ubsan_type_hash.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/ubsan_type_hash.h?rev=172730&r1=172729&r2=172730&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ubsan/ubsan_type_hash.h (original)
+++ compiler-rt/trunk/lib/ubsan/ubsan_type_hash.h Thu Jan 17 11:14:12 2013
@@ -55,7 +55,8 @@
 /// \code
 ///   __ubsan_vptr_type_cache[Hash % VptrTypeCacheSize] == Hash
 /// \endcode
-extern "C" HashValue __ubsan_vptr_type_cache[VptrTypeCacheSize];
+extern "C" SANITIZER_INTERFACE_ATTRIBUTE
+HashValue __ubsan_vptr_type_cache[VptrTypeCacheSize];
 
 } // namespace __ubsan
 





More information about the llvm-commits mailing list