Home
last modified time | relevance | path

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

/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/
H A Dreport.cpp108 static const char *stringifyAction(AllocatorAction Action) { in stringifyAction()
110 case AllocatorAction::Recycling: in stringifyAction()
112 case AllocatorAction::Deallocating: in stringifyAction()
114 case AllocatorAction::Reallocating: in stringifyAction()
116 case AllocatorAction::Sizing: in stringifyAction()
124 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr) { in reportInvalidChunkState()
130 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr) { in reportMisalignedPointer()
138 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr, in reportDeallocTypeMismatch()
H A Dreport.h36 enum class AllocatorAction : u8 { enum
42 void NORETURN reportInvalidChunkState(AllocatorAction Action, void *Ptr);
43 void NORETURN reportMisalignedPointer(AllocatorAction Action, void *Ptr);
44 void NORETURN reportDeallocTypeMismatch(AllocatorAction Action, void *Ptr,
H A Dcombined.h67 reportInvalidChunkState(AllocatorAction::Recycling, Ptr); in recycle()
114 reportInvalidChunkState(AllocatorAction::Deallocating, Ptr); in deallocate()
541 reportMisalignedPointer(AllocatorAction::Deallocating, Ptr);
550 reportInvalidChunkState(AllocatorAction::Deallocating, Ptr);
558 reportDeallocTypeMismatch(AllocatorAction::Deallocating, Ptr,
605 reportMisalignedPointer(AllocatorAction::Reallocating, OldPtr);
611 reportInvalidChunkState(AllocatorAction::Reallocating, OldPtr);
618 reportDeallocTypeMismatch(AllocatorAction::Reallocating, OldPtr,
833 reportInvalidChunkState(AllocatorAction::Sizing, const_cast<void *>(Ptr)); in getUsableSize()
/llvm-project-15.0.7/compiler-rt/lib/scudo/standalone/tests/
H A Dreport_test.cpp33 scudo::reportInvalidChunkState(scudo::AllocatorAction::Recycling, P), in TEST()
36 scudo::reportInvalidChunkState(scudo::AllocatorAction::Sizing, P), in TEST()
39 scudo::reportMisalignedPointer(scudo::AllocatorAction::Deallocating, P), in TEST()
42 scudo::AllocatorAction::Reallocating, P, 0, 1), in TEST()