search for: object_cr

Displaying 5 results from an estimated 5 matches for "object_cr".

Did you mean: object_r
2012 Jan 13
2
[LLVMdev] Memory leaks in LLVM on linux
...ory that seems to be lost when running valgrind under our internal application. The stack traces I get are: ==19966== 4 bytes in 1 blocks are still reachable in loss record 1 of 12 ==19966== at 0x402569A: operator new(unsigned int) (vg_replace_malloc.c:255) ==19966== by 0x5D9BBE8: void* llvm::object_creator<llvm::PassRegistry>() (ManagedStatic.h:25) ==19966== by 0x5E05AB6: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (ManagedStatic.cpp:47) ==19966== by 0x5D9B73E: llvm::ManagedStatic<llvm::PassRegistry>::operator*() (ManagedStatic.h:67) ==199...
2009 Jun 17
1
[LLVMdev] CMake does not work with LLVM anymore?
..._deleter<llvm::sys::RWMutex>(void*)': Type.cpp:(.text._ZN4llvm14object_deleterINS_3sys7RWMutexEEEvPv[void llvm::object_deleter<llvm::sys::RWMutex>(void*)]+0x12): undefined reference to `llvm::sys::RWMutex::~RWMutex()' ../../lib/libLLVMCore.a(Type.cpp.o): In function `void* llvm::object_creator<llvm::sys::RWMutex>()': Type.cpp:(.text._ZN4llvm14object_creatorINS_3sys7RWMutexEEEPvv[void* llvm::object_creator<llvm::sys::RWMutex>()]+0x1e): undefined reference to `llvm::sys::RWMutex::RWMutex()' collect2: ld returned 1 exit status make[2]: *** [bin/opt] Error 1 make[1]:...
2013 Mar 28
0
[LLVMdev] Avoid Valgrind's still-reachable leak warnings
...==26332== at 0x4C2B3F8: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) ==26332== by 0x165CC6C: llvm::sys::MutexImpl::MutexImpl(bool) (Mutex.cpp:49) ==26332== by 0xD41D5A: llvm::sys::SmartMutex<true>::SmartMutex(bool) (Mutex.h:94) ==26332== by 0xD3E81F: void* llvm::object_creator<llvm::sys::SmartMutex<true> >() (ManagedStatic.h:26) ==26332== by 0x165AA95: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (ManagedStatic.cpp:50) ==26332== by 0xD3C372: llvm::ManagedStatic<llvm::sys::SmartMutex<true> >::operato...
2019 Nov 18
2
Unable to parse command line more than once using llvm libraries?
Thanks, I tried calling ResetAllOptionOccurrences after the run like this… // Compile the module TimeCompilations times to give better compile time // metrics. for (unsigned I = TimeCompilations; I; --I) if (int RetVal = compileModule(argv, Context)) return RetVal; if (YamlFile) YamlFile->keep(); cl::ResetAllOptionOccurrences(); return 0; } Unfortunately
2010 Mar 23
2
[LLVMdev] How to avoid memory leaks
...g::TypePrinting() (in /home/gabi/vgen/Debug/vgen) ==20504==    by 0x8D9FAD: llvm::LLVMContextImpl::LLVMContextImpl(llvm::LLVMContext&) (in /home/gabi/vgen/Debug/vgen) ==20504==    by 0x8D8BA8: llvm::LLVMContext::LLVMContext() (in /home/gabi/vgen/Debug/vgen) ==20504==    by 0x8D9055: void* llvm::object_creator<llvm::LLVMContext>() (in /home/gabi/vgen/Debug/vgen) ==20504==    by 0x94CD83: llvm::ManagedStaticBase::RegisterManagedStatic(void* (*)(), void (*)(void*)) const (in /home/gabi/vgen/Debug/vgen) ==20504==    by 0x8D8C43: llvm::getGlobalContext() (in /home/gabi/vgen/Debug/vgen) ==20504==  ...