summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
diff options
context:
space:
mode:
authorEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-03-16 17:39:17 +0000
committerEvgeniy Stepanov <eugeni.stepanov@gmail.com>2016-03-16 17:39:17 +0000
commit4b96ed693ade4749dbe6951d303109c7c8aea96c (patch)
tree8e4f69278b1ec3edfc5c4af53eb48c74fe352312 /llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
parent459b7508715128585cad3e7a8eda1891a4f7e59e (diff)
downloadbcm5719-llvm-4b96ed693ade4749dbe6951d303109c7c8aea96c.tar.gz
bcm5719-llvm-4b96ed693ade4749dbe6951d303109c7c8aea96c.zip
[msan] Add a comment with a bug link.
llvm-svn: 263645
Diffstat (limited to 'llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp')
-rw-r--r--llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
index ed9e7396111..1931e7d8bc1 100644
--- a/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
+++ b/llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
@@ -190,6 +190,9 @@ static cl::opt<int> ClInstrumentationWithCallThreshold(
static cl::opt<bool> ClCheckConstantShadow("msan-check-constant-shadow",
cl::desc("Insert checks for constant shadow values"),
cl::Hidden, cl::init(false));
+
+// This is off by default because of a bug in gold:
+// https://sourceware.org/bugzilla/show_bug.cgi?id=19002
static cl::opt<bool> ClWithComdat("msan-with-comdat",
cl::desc("Place MSan constructors in comdat sections"),
cl::Hidden, cl::init(false));
OpenPOWER on IntegriCloud