Home
last modified time | relevance | path

Searched refs:StackDepot (Results 1 – 4 of 4) sorted by relevance

/llvm-project/compiler-rt/lib/scudo/standalone/
H A Dstack_depot.h42 class alignas(atomic_u64) StackDepot {
74 sizeof(StackDepot)); in getRing()
79 sizeof(StackDepot) + in getTab()
85 reinterpret_cast<const char *>(this) + sizeof(StackDepot)); in getRing()
90 reinterpret_cast<const char *>(this) + sizeof(StackDepot) + in getTab()
120 if (BufSize < sizeof(StackDepot)) in isValid()
122 BufSize -= sizeof(StackDepot); in isValid()
204 static_assert(sizeof(StackDepot) % alignof(atomic_u64) == 0);
H A Dcombined.h310 NOINLINE u32 collectStackTrace(UNUSED StackDepot *Depot) { in collectStackTrace()
882 static void collectTraceMaybe(const StackDepot *Depot, in collectTraceMaybe()
906 const StackDepot *Depot = nullptr; in getErrorInfo()
908 // check for corrupted StackDepot. First we need to check whether we can in getErrorInfo()
912 Depot = reinterpret_cast<const StackDepot *>(DepotPtr); in getErrorInfo()
991 StackDepot *Depot = nullptr;
1478 const StackDepot *Depot, in getInlineErrorInfo()
1563 const StackDepot *Depot, in getRingBufferErrorInfo()
1689 uptr StackDepotSize = sizeof(StackDepot) + sizeof(atomic_u64) * RingSize + in initRingBufferMaybe()
1695 auto *Depot = reinterpret_cast<StackDepot *>(DepotMa in initRingBufferMaybe()
[all...]
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_stackdepot.cpp57 StackDepot; typedef
58 static StackDepot theDepot;
61 static TwoLevelMap<atomic_uint32_t, StackDepot::kNodesSize1,
62 StackDepot::kNodesSize2>
/llvm-project/compiler-rt/lib/scudo/standalone/tests/
H A Dcombined_test.cpp946 // The StackDepot is not initialized until tracking is enabled for the
986 SCUDO_TYPED_TEST(ScudoCombinedTest, StackDepot) {
987 alignas(scudo::StackDepot) char Buf[sizeof(scudo::StackDepot) +
990 auto *Depot = reinterpret_cast<scudo::StackDepot *>(Buf); in TEST()
965 SCUDO_TYPED_TEST(ScudoCombinedTest,StackDepot) SCUDO_TYPED_TEST() argument