[PATCH] D129237: [scudo] Pass MapPlatformData in more calls
Dominic Chen via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 7 13:13:15 PDT 2022
This revision was automatically updated to reflect the committed changes.
Closed by commit rG5f3818c7df7d: [scudo] Add [[no_unique_address]] attribute to new MapPlatformData variables (authored by ddcc).
Changed prior to commit:
https://reviews.llvm.org/D129237?vs=442985&id=443038#toc
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D129237/new/
https://reviews.llvm.org/D129237
Files:
compiler-rt/lib/scudo/standalone/release.h
compiler-rt/lib/scudo/standalone/vector.h
Index: compiler-rt/lib/scudo/standalone/vector.h
===================================================================
--- compiler-rt/lib/scudo/standalone/vector.h
+++ compiler-rt/lib/scudo/standalone/vector.h
@@ -95,7 +95,7 @@
T LocalData[256 / sizeof(T)] = {};
uptr CapacityBytes = 0;
uptr Size = 0;
- MapPlatformData MapData = {};
+ [[no_unique_address]] MapPlatformData MapData = {};
};
template <typename T> class Vector : public VectorNoCtor<T> {
Index: compiler-rt/lib/scudo/standalone/release.h
===================================================================
--- compiler-rt/lib/scudo/standalone/release.h
+++ compiler-rt/lib/scudo/standalone/release.h
@@ -138,7 +138,7 @@
uptr SizePerRegion;
uptr BufferSize;
uptr *Buffer;
- MapPlatformData MapData = {};
+ [[no_unique_address]] MapPlatformData MapData = {};
static HybridMutex Mutex;
static uptr StaticBuffer[StaticBufferCount];
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129237.443038.patch
Type: text/x-patch
Size: 926 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220707/d7e1c910/attachment.bin>
More information about the llvm-commits
mailing list