Try to fix MAC buildbot after r299630

llvm-svn: 299632
This commit is contained in:
Maxim Ostapenko 2017-04-06 08:17:09 +00:00
parent 18afec1ba6
commit e6b81315f7
2 changed files with 7 additions and 5 deletions

View File

@ -23,11 +23,11 @@ void StopTheWorld(StopTheWorldCallback callback, void *argument) {
CHECK(0 && "unimplemented");
}
int SuspendedThreadsList::GetRegistersAndSP(uptr index,
uptr *buffer,
uptr *sp) const {
PtraceRegistersStatus SuspendedThreadsList::GetRegistersAndSP(uptr index,
uptr *buffer,
uptr *sp) const {
CHECK(0 && "unimplemented");
return 0;
return REGISTERS_UNAVAILABLE_FATAL;
}
uptr SuspendedThreadsList::RegisterCount() {

View File

@ -145,7 +145,9 @@ void DTLS_on_libc_memalign(void *ptr, uptr size) {}
DTLS::DTV *DTLS_on_tls_get_addr(void *arg, void *res) { return 0; }
DTLS *DTLS_Get() { return 0; }
void DTLS_Destroy() {}
bool DTLSInDestruction(DTLS *dtls) { return true; }
bool DTLSInDestruction(DTLS *dtls) {
UNREACHABLE("dtls is unsupported on this platform!");
}
#endif // SANITIZER_INTERCEPT_TLS_GET_ADDR