Home
last modified time | relevance | path

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

/openbsd/src/gnu/llvm/lld/include/lld/Common/
DMemory.h29 struct SpecificAllocBase { struct
30 virtual ~SpecificAllocBase() = default;
31 static SpecificAllocBase *getOrCreate(void *tag, size_t size, size_t align,
32 SpecificAllocBase *(&creator)(void *));
36 template <class T> struct SpecificAlloc : public SpecificAllocBase {
37 static SpecificAllocBase *create(void *storage) { in create()
52 SpecificAllocBase *instance = SpecificAllocBase::getOrCreate( in getSpecificAllocSingleton()
DCommonLinkerContext.h31 struct SpecificAllocBase;
41 llvm::DenseMap<void *, SpecificAllocBase *> instances;
/openbsd/src/gnu/llvm/lld/Common/
DMemory.cpp15 SpecificAllocBase *
16 lld::SpecificAllocBase::getOrCreate(void *tag, size_t size, size_t align, in getOrCreate()
17 SpecificAllocBase *(&creator)(void *)) { in getOrCreate()
DCommonLinkerContext.cpp36 it.second->~SpecificAllocBase(); in ~CommonLinkerContext()