[PATCH] D92415: [GWP-ASan] Fix flaky test on Fuchsia

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 2 09:01:18 PST 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rGc904c32b9c92: [GWP-ASan] Fix flaky test on Fuchsia (authored by cryptoad).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D92415

Files:
  compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp


Index: compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
===================================================================
--- compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
+++ compiler-rt/lib/gwp_asan/guarded_pool_allocator.cpp
@@ -148,6 +148,7 @@
                     State.PageSize));
     FreeSlots = nullptr;
   }
+  *getThreadLocals() = ThreadLocalPackedVariables();
 }
 
 void *GuardedPoolAllocator::allocate(size_t Size) {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92415.308982.patch
Type: text/x-patch
Size: 441 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201202/7b5db024/attachment.bin>


More information about the llvm-commits mailing list