diff options
author | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-10-29 21:01:59 +0000 |
---|---|---|
committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2012-10-29 21:01:59 +0000 |
commit | 2529922d03a76c90a512e0dd8381a42978349b69 (patch) | |
tree | 2dd8aab20a795d16f151fb5476307e2eef9d682d | |
parent | 26a725f0b2fd30b98adae6353b432d0c955e10bd (diff) | |
download | compiler-rt-2529922d03a76c90a512e0dd8381a42978349b69.tar.gz |
Consistently declare 'extern "C"' variable in namespace __ubsan. No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@166966 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/ubsan/ubsan_type_hash.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/ubsan/ubsan_type_hash.cc b/lib/ubsan/ubsan_type_hash.cc index 6630c843c..1f6a3dbd9 100644 --- a/lib/ubsan/ubsan_type_hash.cc +++ b/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. |