blob: 909cbcec1ed438db8420111b0ca77bc91ca722c0 [file] [log] [blame]
#include "threads_impl.h"
// The compiler supports __builtin_* names that just call these.
void* __get_unsafe_stack_start(void) {
return __thrd_current()->unsafe_stack.iov_base;
}
void* __get_unsafe_stack_ptr(void) {
return (void*)__thrd_current()->abi.unsafe_sp;
}