From 8f4d7eb518d7dd6309de9f0f1211b04265e8b1fd Mon Sep 17 00:00:00 2001 From: Richard Smith Date: Mon, 29 Oct 2012 21:01:59 +0000 Subject: [PATCH] Consistently declare 'extern "C"' variable in namespace __ubsan. No functionality change. llvm-svn: 166966 --- compiler-rt/lib/ubsan/ubsan_type_hash.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/compiler-rt/lib/ubsan/ubsan_type_hash.cc b/compiler-rt/lib/ubsan/ubsan_type_hash.cc index 6630c84..1f6a3db 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. -- 2.7.4