Skip to content

Commit 8c21779

Browse files
committed
Absorb the change from #141665
1 parent f0c3006 commit 8c21779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bolt/lib/Passes/PAuthGadgetScanner.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ shouldReportUnsafeTailCall(const BinaryContext &BC, const BinaryFunction &BF,
13981398
}
13991399

14001400
if (BC.MIB->isSafeJumpTableBranchForPtrAuth(Inst)) {
1401-
LLVM_DEBUG({ dbgs() << " Safe jump table detected, skipping.\n"; });
1401+
LLVM_DEBUG(dbgs() << " Safe jump table detected, skipping.\n");
14021402
return std::nullopt;
14031403
}
14041404

@@ -1433,7 +1433,7 @@ shouldReportCallGadget(const BinaryContext &BC, const MCInstReference &Inst,
14331433
return std::nullopt;
14341434

14351435
if (BC.MIB->isSafeJumpTableBranchForPtrAuth(Inst)) {
1436-
LLVM_DEBUG({ dbgs() << " Safe jump table detected, skipping.\n"; });
1436+
LLVM_DEBUG(dbgs() << " Safe jump table detected, skipping.\n");
14371437
return std::nullopt;
14381438
}
14391439

0 commit comments

Comments
 (0)