function return_address

@llvm_intrinsic(returnaddress)
fn return_address() -> usize { .. }
Expand

Returns the return address of the current function, or one of it’s callers, depending on if it was inlined or not.

See More: llvm.returnaddress