[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:36:08 PDT 2022


This revision was automatically updated to reflect the committed changes.
Closed by commit rG1231a2cec005: [lsan][Darwin][nfc] Fix thread vector size (authored by lgrey).

Repository:
  rG LLVM Github Monorepo

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.445135.patch
Type: text/x-patch
Size: 555 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220715/001dcdaa/attachment.bin>


More information about the llvm-commits mailing list