This creates a way to configure MSAN to for eager checks that will be leveraged
by the introduction of a clang flag (-fsanitize-memory-param-retval).
This is redundant with the existing flag: -mllvm -msan-eager-checks.
Paths
| Differential D116855
Add 'eager-checks' as a module parameter to MSAN. ClosedPublic Authored by kda on Jan 7 2022, 10:18 PM.
Details
Summary This creates a way to configure MSAN to for eager checks that will be leveraged This is redundant with the existing flag: -mllvm -msan-eager-checks.
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Jan 10 2022, 5:31 PM
Closed by commit rG7ea175d1c6fa: Add 'eager-checks' as a module parameter to MSAN. (authored by kda). · Explain WhyJan 11 2022, 2:30 PM This revision was automatically updated to reflect the committed changes. kda added a child revision: D116633: Add -fsanitize-address-param-retval to clang..Jan 14 2022, 1:19 PM
Revision Contents
Diff 399081 llvm/include/llvm/Transforms/Instrumentation/MemorySanitizer.h
llvm/lib/Passes/PassBuilder.cpp
llvm/lib/Passes/PassRegistry.def
llvm/lib/Transforms/Instrumentation/MemorySanitizer.cpp
llvm/test/Instrumentation/MemorySanitizer/msan_eager.ll
llvm/test/Other/new-pm-print-pipeline.ll
|
This breaks existing new-pm-print-pipeline.ll test for me (check-llvm)
Maybe flip like this to avoid ; before >
Please add something for EagerChecks into new-pm-print-pipeline.ll as well