Skip to content

Commit c9bc2c4

Browse files
committed
Tests: use the correct register
1 parent 656e100 commit c9bc2c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bolt/test/binary-analysis/AArch64/gs-pauth-calls.s

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ indirect_call_invalidates_safety:
672672
blr x16 // protected call, but makes x16 unsafe
673673
blr x16 // unprotected call
674674

675-
mov x19, x0
675+
mov x18, x0
676676
autiza x18
677677
blr x18 // protected call, but makes x18 unsafe
678678
blr x18 // unprotected call

0 commit comments

Comments
 (0)