[llvm] 6fedc18 - [NFC][SanCov] Re-format long line
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 19 19:16:46 PDT 2024
Author: Vitaly Buka
Date: 2024-04-19T19:16:35-07:00
New Revision: 6fedc18c9c25568c5aba6c0a7aaf5d2406bc84eb
URL: https://github.com/llvm/llvm-project/commit/6fedc18c9c25568c5aba6c0a7aaf5d2406bc84eb
DIFF: https://github.com/llvm/llvm-project/commit/6fedc18c9c25568c5aba6c0a7aaf5d2406bc84eb.diff
LOG: [NFC][SanCov] Re-format long line
Added:
Modified:
llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
Removed:
################################################################################
diff --git a/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp b/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
index 4a687dcdeb5259..56d4907ae47a98 100644
--- a/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
+++ b/llvm/lib/Transforms/Instrumentation/SanitizerCoverage.cpp
@@ -631,8 +631,10 @@ void ModuleSanitizerCoverage::instrumentFunction(Function &F) {
return;
if (F.hasFnAttribute(Attribute::NoSanitizeCoverage))
return;
- if (Options.CoverageType >= SanitizerCoverageOptions::SCK_Edge)
- SplitAllCriticalEdges(F, CriticalEdgeSplittingOptions().setIgnoreUnreachableDests());
+ if (Options.CoverageType >= SanitizerCoverageOptions::SCK_Edge) {
+ SplitAllCriticalEdges(
+ F, CriticalEdgeSplittingOptions().setIgnoreUnreachableDests());
+ }
SmallVector<Instruction *, 8> IndirCalls;
SmallVector<BasicBlock *, 16> BlocksToInstrument;
SmallVector<Instruction *, 8> CmpTraceTargets;
More information about the llvm-commits
mailing list