projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
764ea24
)
[ubsan] Add SANITIZER_INTERFACE_ATTRIBUTE to __ubsan_vptr_type_cache
author
Will Dietz
<wdietz2@illinois.edu>
Thu, 17 Jan 2013 17:14:12 +0000
(17:14 +0000)
committer
Will 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
patch
|
blob
|
history
diff --git
a/compiler-rt/lib/ubsan/ubsan_type_hash.h
b/compiler-rt/lib/ubsan/ubsan_type_hash.h
index
1c53557
..
58ecd3d
100644
(file)
--- a/
compiler-rt/lib/ubsan/ubsan_type_hash.h
+++ b/
compiler-rt/lib/ubsan/ubsan_type_hash.h
@@
-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