[compiler-rt] [scudo] [MTE] resize stack depot for allocation ring buffer (PR #74515)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 12 19:06:14 PST 2023


================
@@ -1040,7 +1057,9 @@ class Allocator {
   uptr GuardedAllocSlotSize = 0;
 #endif // GWP_ASAN_HOOKS
 
-  StackDepot Depot;
+  char *RawStackDepot = nullptr;
----------------
cferris1000 wrote:

Is there a reason you aren't keeping this as a StackDepot*? It seems you are casting it to that everywhere you use it.

https://github.com/llvm/llvm-project/pull/74515


More information about the llvm-commits mailing list