This patch enables passing options to msan via the passes pipeline, e.e., -passes=msan<recover;kernel;track-origins=4>.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 27691 Build 27690: arc lint + arc unit
Event Timeline
llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h | ||
---|---|---|
32 | Is there a reason why this function no longer specifies default value for the parameter? Btw, there is one use - in llvm/bindings/go/llvm/InstrumentationBindings.cpp, which dont seem to be addressed |
Comment Actions
Minor past-commit nit.
lib/CodeGen/BackendUtil.cpp | ||
---|---|---|
1039 ↗ | (On Diff #185139) | This change isn't needed any more (since you added the default back). |
Is there a reason why this function no longer specifies default value for the parameter?
Before the change it was possible to call it w/o passing anything at all.
Btw, there is one use - in llvm/bindings/go/llvm/InstrumentationBindings.cpp, which dont seem to be addressed
by your change and it does call createMemorySanitizerLegacyPassPass w/o passing arguments.