[compiler-rt] r177862 - [ASan] mark local function as static
Alexey Samsonov
samsonov at google.com
Mon Mar 25 04:38:43 PDT 2013
Author: samsonov
Date: Mon Mar 25 06:38:42 2013
New Revision: 177862
URL: http://llvm.org/viewvc/llvm-project?rev=177862&view=rev
Log:
[ASan] mark local function as static
Modified:
compiler-rt/trunk/lib/asan/asan_globals.cc
Modified: compiler-rt/trunk/lib/asan/asan_globals.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_globals.cc?rev=177862&r1=177861&r2=177862&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_globals.cc (original)
+++ compiler-rt/trunk/lib/asan/asan_globals.cc Mon Mar 25 06:38:42 2013
@@ -34,7 +34,7 @@ static LowLevelAllocator allocator_for_g
static ListOfGlobals *list_of_all_globals;
static ListOfGlobals *list_of_dynamic_init_globals;
-void PoisonRedZones(const Global &g) {
+static void PoisonRedZones(const Global &g) {
uptr aligned_size = RoundUpTo(g.size, SHADOW_GRANULARITY);
PoisonShadow(g.beg + aligned_size, g.size_with_redzone - aligned_size,
kAsanGlobalRedzoneMagic);
More information about the llvm-commits
mailing list