diff options
author | Alexey Samsonov <samsonov@google.com> | 2013-03-25 11:38:42 +0000 |
---|---|---|
committer | Alexey Samsonov <samsonov@google.com> | 2013-03-25 11:38:42 +0000 |
commit | 9328ba400a4e11a0495144103e0398bf3ffed44a (patch) | |
tree | 9080526867e70d8dbc82245b4a08d06901d7b572 | |
parent | acfb82e611f205c6d609ad59b1779a9bd55cb15d (diff) | |
download | llvm-9328ba400a4e11a0495144103e0398bf3ffed44a.zip llvm-9328ba400a4e11a0495144103e0398bf3ffed44a.tar.gz llvm-9328ba400a4e11a0495144103e0398bf3ffed44a.tar.bz2 |
[ASan] mark local function as static
llvm-svn: 177862
-rw-r--r-- | compiler-rt/lib/asan/asan_globals.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/asan_globals.cc b/compiler-rt/lib/asan/asan_globals.cc index 3101f16..8d04128 100644 --- a/compiler-rt/lib/asan/asan_globals.cc +++ b/compiler-rt/lib/asan/asan_globals.cc @@ -34,7 +34,7 @@ static LowLevelAllocator allocator_for_globals; 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); |