Skip to content

Commit b6e0390

Browse files
committed
Fix formatting
1 parent a5d8504 commit b6e0390

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

bolt/include/bolt/Core/MCPlusBuilder.h

+2-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,8 @@ class MCPlusBuilder {
593593
/// The produced address should not be attacker-controlled, assuming an
594594
/// attacker is able to modify any writable memory, but not executable code
595595
/// (as it should be W^X).
596-
virtual MCPhysReg getMaterializedAddressRegForPtrAuth(const MCInst &Inst) const {
596+
virtual MCPhysReg
597+
getMaterializedAddressRegForPtrAuth(const MCInst &Inst) const {
597598
llvm_unreachable("not implemented");
598599
return getNoRegister();
599600
}

bolt/lib/Target/AArch64/AArch64MCPlusBuilder.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,8 @@ class AArch64MCPlusBuilder : public MCPlusBuilder {
304304
}
305305
}
306306

307-
MCPhysReg getMaterializedAddressRegForPtrAuth(const MCInst &Inst) const override {
307+
MCPhysReg
308+
getMaterializedAddressRegForPtrAuth(const MCInst &Inst) const override {
308309
switch (Inst.getOpcode()) {
309310
case AArch64::ADR:
310311
case AArch64::ADRP:

0 commit comments

Comments
 (0)