search for: deallocateslabs

Displaying 6 results from an estimated 6 matches for "deallocateslabs".

2011 Oct 16
2
[LLVMdev] Static destructor problem with recent HEAD
...e changed recently that would cause this? >> > > It would help a lot to see the actual backtrace etc. ;] > Sure thing (although I'm not sure that this will tell you all that much): #0 0x00007fff878d8fbb in __cxa_pure_virtual () #1 0x0000000100f3f166 in llvm::BumpPtrAllocator::DeallocateSlabs (this=0x1016e48a8, Slab=0x103889e00) at /Users/talin/Projects/llvm/lib/Support/Allocator.cpp:71 #2 0x0000000100f3f0b9 in llvm::BumpPtrAllocator::~BumpPtrAllocator (this=0x1016e48a8) at /Users/talin/Projects/llvm/lib/Support/Allocator.cpp:29 #3 0x0000000100f3f095 in llvm::BumpPtrAllocator::~BumpPt...
2011 Oct 16
0
[LLVMdev] Static destructor problem with recent HEAD
...0 5 libstdc++.6.dylib 0x00007fff878d8ae1 __cxxabiv1::__terminate(void (*)()) + 11 6 libstdc++.6.dylib 0x00007fff878d8b16 __cxxabiv1::__unexpected(void (*)()) + 0 7 libstdc++.6.dylib 0x00007fff878d8fd6 std::bad_cast::what() const + 0 8 tartc 0x000000010106ad46 llvm::BumpPtrAllocator::DeallocateSlabs(llvm::MemSlab*) + 166 9 tartc 0x000000010106ac99 llvm::BumpPtrAllocator::~BumpPtrAllocator() + 25 10 tartc 0x000000010106ac75 llvm::BumpPtrAllocator::~BumpPtrAllocator() + 21 11 tartc 0x00000001000388b6 llvm::StringMap<char, llvm::BumpPtrAllocator>::~Strin...
2015 May 11
2
[LLVMdev] Bug in Support/Allocator.h
Hi, llvm::BumpPtrAllocatorImpl::Reset() looks like it has a bug. There is this check at the top: if (Slabs.empty()) return; But what if you don't have any normal Slabs allocated but only CustomSizedSlabs. I think this should be: if (Slabs.empty() && CustomSizedSlabs.empty()) return;
2012 Dec 13
0
[LLVMdev] Memory leaks after llvm_shutdown
...tics after calling all static destructors. In that case I got "pure virtual function call" because of early release of BumpPtrAllocator::DefaultSlabAllocator. Call stack for this case: msvcr100d.dll!_purecall() Line 54 + 0x7 bytes C > llvm_test.exe!llvm::BumpPtrAllocator::DeallocateSlabs(llvm::MemSlab * Slab) Line 71 + 0x1b bytes C++ llvm_test.exe!llvm::BumpPtrAllocator::~BumpPtrAllocator() Line 30 C++ llvm_test.exe!llvm::LLVMContextImpl::~LLVMContextImpl() Line 128 + 0xf3 bytes C++ llvm_test.exe!llvm::LLVMContextImpl::`scalar deleting destructor'...
2011 Oct 16
0
[LLVMdev] Static destructor problem with recent HEAD
On Sat, Oct 15, 2011 at 9:20 PM, Talin <viridia at gmail.com> wrote: > I recently updated my version of LLVM from revision 140108 to 142082, and > several things broke, most of which were easily fixed. However, I'm now > getting a "pure virtual method called" exception (__cxa_pure_virtual) which > I wasn't getting before. This is happening in the destructor of
2011 Oct 16
2
[LLVMdev] Static destructor problem with recent HEAD
I recently updated my version of LLVM from revision 140108 to 142082, and several things broke, most of which were easily fixed. However, I'm now getting a "pure virtual method called" exception (__cxa_pure_virtual) which I wasn't getting before. This is happening in the destructor of a statically-initialized object. (More precisely, it's blowing up in a BumpPtrAllocator,