File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -566,7 +566,7 @@ class MCPlusBuilder {
566566 // / or std::nullopt if not authenticating any register.
567567 // /
568568 // / 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
570570 // / the program abnormally (such as "ldra x0, [x1]!" on AArch64, which crashes
571571 // / on authentication failure even if FEAT_FPAC is not implemented).
572572 virtual std::optional<MCPhysReg>
@@ -610,7 +610,7 @@ class MCPlusBuilder {
610610 getRegUsedAsIndirectBranchDest (const MCInst &Inst,
611611 bool &IsAuthenticatedInternally) const {
612612 llvm_unreachable (" not implemented" );
613- return getNoRegister () ;
613+ return 0 ;
614614 }
615615
616616 // / Returns the register containing an address safely materialized by `Inst`
You can’t perform that action at this time.
0 commit comments