Skip to content

Commit 4b99f6b

Browse files
committed
fixup! Address review comments
1 parent 119b44e commit 4b99f6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/xray/xray_riscv.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,15 +91,15 @@ static inline bool patchSled(const bool Enable, const uint32_t FuncId,
9191
//
9292
// xray_sled_n (32-bit):
9393
// addi sp, sp, -16 ;create stack frame
94-
// sw ra, 12(sp) ;save return address
94+
// sw ra, 12(sp) ;save return address
9595
// sw a0, 8(sp) ;save register a0
9696
// lui ra, %hi(__xray_FunctionEntry/Exit)
9797
// addi ra, ra, %lo(__xray_FunctionEntry/Exit)
9898
// lui a0, %hi(function_id)
9999
// addi a0, a0, %lo(function_id) ;pass function id
100100
// jalr ra ;call Tracing hook
101101
// lw a0, 8(sp) ;restore register a0
102-
// lw ra, 12(sp) ;restore return address
102+
// lw ra, 12(sp) ;restore return address
103103
// addi sp, sp, 16 ;delete stack frame
104104
//
105105
// xray_sled_n (64-bit):

0 commit comments

Comments
 (0)