summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-10-29 21:01:59 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-10-29 21:01:59 +0000
commit8f4d7eb518d7dd6309de9f0f1211b04265e8b1fd (patch)
tree274bfff281fd30f281188957c6527216e99d89ce
parentf0aac0b99e0415141488b132cd97eda2cb25d2d5 (diff)
downloadbcm5719-llvm-8f4d7eb518d7dd6309de9f0f1211b04265e8b1fd.tar.gz
bcm5719-llvm-8f4d7eb518d7dd6309de9f0f1211b04265e8b1fd.zip
Consistently declare 'extern "C"' variable in namespace __ubsan. No functionality change.
llvm-svn: 166966
-rw-r--r--compiler-rt/lib/ubsan/ubsan_type_hash.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler-rt/lib/ubsan/ubsan_type_hash.cc b/compiler-rt/lib/ubsan/ubsan_type_hash.cc
index 6630c843cf5..1f6a3dbd926 100644
--- a/compiler-rt/lib/ubsan/ubsan_type_hash.cc
+++ b/compiler-rt/lib/ubsan/ubsan_type_hash.cc
@@ -108,7 +108,8 @@ static __ubsan::HashValue *getTypeCacheHashTableBucket(__ubsan::HashValue V) {
}
/// A cache of recently-checked hashes. Mini hash table with "random" evictions.
-__ubsan::HashValue __ubsan_vptr_type_cache[__ubsan::VptrTypeCacheSize] = { 1 };
+__ubsan::HashValue
+__ubsan::__ubsan_vptr_type_cache[__ubsan::VptrTypeCacheSize] = { 1 };
/// \brief Determine whether \p Derived has a \p Base base class subobject at
/// offset \p Offset.
OpenPOWER on IntegriCloud