Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
RISCV: Fix InternalLongJump to return correct value
InternalLongJump was not returning the 2nd parameter passed to LongJmp (Value) as the return value from SetJmp. Seen with code compiled with -Os, where an LongJmp (Buffer, -1) somehow translated to SetJmp returning 0... Cc: Yong Li <[email protected]> Cc: Sunil V L <[email protected]> Cc: Tuan Phan <[email protected]> Cc: Daniel Schaefer <[email protected]> Signed-off-by: Andrei Warkentin <[email protected]> Reviewed-by: Sunil V L <[email protected]>
- Loading branch information