Account for stack redzone when computing sp on darwin
thread_get_register_pointer_values handles the redzone computation automatically, but is marked as an unavailable API function. This patch replicates its logic accounting for the stack redzone on x86_64. Should fix flakiness in the use_stack_threaded test for lsan on darwin. llvm-svn: 302898
Loading
Please register or sign in to comment