[ubsan] Add SANITIZER_INTERFACE_ATTRIBUTE to __ubsan_vptr_type_cache
authorWill Dietz <wdietz2@illinois.edu>
Thu, 17 Jan 2013 17:14:12 +0000 (17:14 +0000)
committerWill Dietz <wdietz2@illinois.edu>
Thu, 17 Jan 2013 17:14:12 +0000 (17:14 +0000)
Missed this one previously.

llvm-svn: 172730

compiler-rt/lib/ubsan/ubsan_type_hash.h

index 1c53557..58ecd3d 100644 (file)
@@ -55,7 +55,8 @@ const unsigned VptrTypeCacheSize = 128;
 /// \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