[llvm-commits] [compiler-rt] r166966 - /compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cc

Richard Smith richard-llvm at metafoo.co.uk
Mon Oct 29 14:01:59 PDT 2012


Author: rsmith
Date: Mon Oct 29 16:01:59 2012
New Revision: 166966

URL: http://llvm.org/viewvc/llvm-project?rev=166966&view=rev
Log:
Consistently declare 'extern "C"' variable in namespace __ubsan. No functionality change.

Modified:
    compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cc

Modified: compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cc?rev=166966&r1=166965&r2=166966&view=diff
==============================================================================
--- compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cc (original)
+++ compiler-rt/trunk/lib/ubsan/ubsan_type_hash.cc Mon Oct 29 16:01:59 2012
@@ -108,7 +108,8 @@
 }
 
 /// 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.





More information about the llvm-commits mailing list