Skip to content

Commit

Permalink
Add coverage tracing for loads and stores (#4344)
Browse files Browse the repository at this point in the history
  • Loading branch information
zyedidia authored Mar 12, 2023
1 parent 23fd03a commit 4d254ae
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions driver/cl_options_sanitizers.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,14 @@ void parseFSanitizeCoverageParameter(llvm::StringRef name,
else if (name == "trace-gep") {
opts.TraceGep = true;
}
#if LDC_LLVM_VER >= 1400
else if (name == "trace-loads") {
opts.TraceLoads = true;
}
else if (name == "trace-stores") {
opts.TraceStores = true;
}
#endif
else if (name == "8bit-counters") {
opts.Use8bitCounters = true;
}
Expand Down

0 comments on commit 4d254ae

Please sign in to comment.