[llvm] r263645 - [msan] Add a comment with a bug link.
Evgeniy Stepanov via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 16 10:39:18 PDT 2016
Author: eugenis
Date: Wed Mar 16 12:39:17 2016
New Revision: 263645
URL: http://llvm.org/viewvc/llvm-project?rev=263645&view=rev
Log:
[msan] Add a comment with a bug link.
Modified:
llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
Modified: llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp?rev=263645&r1=263644&r2=263645&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp (original)
+++ llvm/trunk/lib/Transforms/Instrumentation/MemorySanitizer.cpp Wed Mar 16 12:39:17 2016
@@ -190,6 +190,9 @@ static cl::opt<int> ClInstrumentationWit
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));
More information about the llvm-commits
mailing list