File tree 1 file changed +2
-2
lines changed
Filter options
1 file changed +2
-2
lines changed
Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ class MCPlusBuilder {
566
566
// / or std::nullopt if not authenticating any register.
567
567
// /
568
568
// / Sets IsChecked if the instruction always checks authenticated pointer,
569
- // / i.e. it either returns a successfully authenticated pointer or terminates
569
+ // / i.e. it either writes a successfully authenticated pointer or terminates
570
570
// / the program abnormally (such as "ldra x0, [x1]!" on AArch64, which crashes
571
571
// / on authentication failure even if FEAT_FPAC is not implemented).
572
572
virtual std::optional<MCPhysReg>
@@ -610,7 +610,7 @@ class MCPlusBuilder {
610
610
getRegUsedAsIndirectBranchDest (const MCInst &Inst,
611
611
bool &IsAuthenticatedInternally) const {
612
612
llvm_unreachable (" not implemented" );
613
- return getNoRegister () ;
613
+ return 0 ;
614
614
}
615
615
616
616
// / Returns the register containing an address safely materialized by `Inst`
You can’t perform that action at this time.
0 commit comments