[compiler-rt] r300599 - Implement suspended thread register count for darwin
Francis Ricci via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 18 14:05:11 PDT 2017
Author: fjricci
Date: Tue Apr 18 16:05:11 2017
New Revision: 300599
URL: http://llvm.org/viewvc/llvm-project?rev=300599&view=rev
Log:
Implement suspended thread register count for darwin
Reviewers: kubamracek, alekseyshl
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D32165
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc?rev=300599&r1=300598&r2=300599&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc Tue Apr 18 16:05:11 2017
@@ -88,8 +88,7 @@ PtraceRegistersStatus SuspendedThreadsLi
}
uptr SuspendedThreadsListMac::RegisterCount() const {
- CHECK(0 && "unimplemented");
- return 0;
+ return MACHINE_THREAD_STATE_COUNT;
}
} // namespace __sanitizer
More information about the llvm-commits
mailing list