summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Samsonov <samsonov@google.com>2012-07-09 15:11:28 +0000
committerAlexey Samsonov <samsonov@google.com>2012-07-09 15:11:28 +0000
commit2467ca5010c06843d83d7e7278b44ab5ec0d0ba6 (patch)
treea86fe59793f181202b7e07beb3884d2604799ce2
parent34efb8e9b9670e0e94ad67e742cc30d9abbb82db (diff)
downloadbcm5719-llvm-2467ca5010c06843d83d7e7278b44ab5ec0d0ba6.tar.gz
bcm5719-llvm-2467ca5010c06843d83d7e7278b44ab5ec0d0ba6.zip
[ASan] cleanup: remove dead flag
llvm-svn: 159934
-rw-r--r--compiler-rt/lib/asan/asan_internal.h1
-rw-r--r--compiler-rt/lib/asan/asan_rtl.cc2
2 files changed, 0 insertions, 3 deletions
diff --git a/compiler-rt/lib/asan/asan_internal.h b/compiler-rt/lib/asan/asan_internal.h
index 2ee1b12317e..831b76128aa 100644
--- a/compiler-rt/lib/asan/asan_internal.h
+++ b/compiler-rt/lib/asan/asan_internal.h
@@ -142,7 +142,6 @@ struct Flags {
int verbosity;
int redzone;
int debug;
- bool poison_shadow;
int report_globals;
int malloc_context_size;
bool replace_str;
diff --git a/compiler-rt/lib/asan/asan_rtl.cc b/compiler-rt/lib/asan/asan_rtl.cc
index 89f46b1ef86..14e33340270 100644
--- a/compiler-rt/lib/asan/asan_rtl.cc
+++ b/compiler-rt/lib/asan/asan_rtl.cc
@@ -81,7 +81,6 @@ static void ParseFlagsFromString(Flags *f, const char *str) {
CHECK(IsPowerOfTwo(f->redzone));
ParseFlag(str, &f->debug, "debug");
- ParseFlag(str, &f->poison_shadow, "poison_shadow");
ParseFlag(str, &f->report_globals, "report_globals");
ParseFlag(str, &f->malloc_context_size, "malloc_context_size");
CHECK(f->malloc_context_size <= kMallocContextSize);
@@ -115,7 +114,6 @@ void InitializeFlags(Flags *f, const char *env) {
f->verbosity = 0;
f->redzone = (ASAN_LOW_MEMORY) ? 64 : 128; // power of two, >= 32.
f->debug = 0;
- f->poison_shadow = true;
f->report_globals = 1;
f->malloc_context_size = kMallocContextSize;
f->replace_str = true;
OpenPOWER on IntegriCloud