[PATCH] D32165: Implement suspended thread register count for darwin

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 18 14:18:00 PDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rL300599: Implement suspended thread register count for darwin (authored by fjricci).

Changed prior to commit:
  https://reviews.llvm.org/D32165?vs=95611&id=95627#toc

Repository:
  rL LLVM

https://reviews.llvm.org/D32165

Files:
  compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc


Index: compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc
===================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_stoptheworld_mac.cc
@@ -88,8 +88,7 @@
 }
 
 uptr SuspendedThreadsListMac::RegisterCount() const {
-  CHECK(0 && "unimplemented");
-  return 0;
+  return MACHINE_THREAD_STATE_COUNT;
 }
 } // namespace __sanitizer
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32165.95627.patch
Type: text/x-patch
Size: 484 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170418/f7a6e8e1/attachment.bin>


More information about the llvm-commits mailing list