[PATCH] D129897: [lsan][Darwin][nfc] Fix thread vector size

Leonard Grey via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 15 14:02:08 PDT 2022


lgrey updated this revision to Diff 445127.
lgrey added a comment.

Changed to =default


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D129897/new/

https://reviews.llvm.org/D129897

Files:
  compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp


Index: compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp
===================================================================
--- compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp
+++ compiler-rt/lib/sanitizer_common/sanitizer_stoptheworld_mac.cpp
@@ -29,7 +29,7 @@
 
 class SuspendedThreadsListMac final : public SuspendedThreadsList {
  public:
-  SuspendedThreadsListMac() : threads_(1024) {}
+  SuspendedThreadsListMac() = default;
 
   tid_t GetThreadID(uptr index) const override;
   thread_t GetThread(uptr index) const;


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129897.445127.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220715/3645fe76/attachment.bin>


More information about the llvm-commits mailing list