search for: addgarbageobjectimpl

Displaying 10 results from an estimated 10 matches for "addgarbageobjectimpl".

2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...LeakDetector::addGarbageObject(N); >> + LeakDetector::addGarbageObject((MDNode*)N); >> return N; >> } > > Sorry, after more extensive testing, this doesn't work. It looks like > you need to add const MDNode * overloads to addGarbageObject() adding > them for addGarbageObjectImpl() doesn't seem to work: > > diff --git a/include/llvm/IR/LeakDetector.h > b/include/llvm/IR/LeakDetector.h > index e0b131e..b272eaf 100644 > --- a/include/llvm/IR/LeakDetector.h > +++ b/include/llvm/IR/LeakDetector.h > @@ -79,6 +79,17 @@ struct LeakDetector { > #endif &...
2003 Dec 09
2
[LLVMdev] Linking Errors?
...rors?? /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea kDetector16addGarbageObjectEPKNS_5ValueE+0xd): In function `llvm::LeakDetector::addGarbageObject(llvm::Value const*)': /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to `llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)' /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea kDetector19removeGarbageObjectEPKNS_5ValueE+0xd): In function `llvm::LeakDetector::removeGarbageObject(llvm::Value const*)': /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to...
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...0x00007ffff59edc42 in __assert_fail () from /lib64/libc.so.6 > >>>> #4 0x00007ffff3a30e92 in llvm::LeakDetectorImpl<void>::addGarbage(void const*) [clone .part.19] () from /opt/buildbot/lib/libLLVM-3.6svn.so > >>>> #5 0x00007ffff3a30fd3 in llvm::LeakDetector::addGarbageObjectImpl(void*) () from /opt/buildbot/lib/libLLVM-3.6svn.so > >>>> #6 0x00007ffff3a40eed in llvm::MDNode::getTemporary(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>) () from /opt/buildbot/lib/libLLVM-3.6svn.so > >>>> #7 0x00007ffff3426b3f in MapValueImpl(llvm:...
2003 Dec 09
0
[LLVMdev] Linking Errors?
...bbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12LeakDetector16addGarbageObjectEPKNS_5ValueE+0xd): > In function `llvm::LeakDetector::addGarbageObject(llvm::Value const*)': > > /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to > `llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)' > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12LeakDetector19removeGarbageObjectEPKNS_5ValueE+0xd): > In function `llvm::LeakDetector::removeGarbageObject(llvm::Value const*)': > > /usr/include/c++/3.2.1/bits/stl_pair.h:148:...
2003 Dec 09
3
[LLVMdev] Linking Errors?
...ebug/vmcore.o(.gnu.linkonce.t._ZN4llvm12L > eakDetector16addGarbageObjectEPKNS_5ValueE+0xd): > > In function `llvm::LeakDetector::addGarbageObject(llvm::Value const*)': > > > > /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to > > `llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*)' > > > > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12L > eakDetector19removeGarbageObjectEPKNS_5ValueE+0xd): > > In function `llvm::LeakDetector::removeGarbageObject(llvm::Value > const*)': > > > > /us...
2014 Dec 10
2
[LLVMdev] Metadata/Value split has landed
...e () from /lib64/libc.so.6 > #3 0x00007ffff59edc42 in __assert_fail () from /lib64/libc.so.6 > #4 0x00007ffff3a30e92 in llvm::LeakDetectorImpl<void>::addGarbage(void const*) [clone .part.19] () from /opt/buildbot/lib/libLLVM-3.6svn.so > #5 0x00007ffff3a30fd3 in llvm::LeakDetector::addGarbageObjectImpl(void*) () from /opt/buildbot/lib/libLLVM-3.6svn.so > #6 0x00007ffff3a40eed in llvm::MDNode::getTemporary(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>) () from /opt/buildbot/lib/libLLVM-3.6svn.so > #7 0x00007ffff3426b3f in MapValueImpl(llvm::Metadata const*, llvm::ValueMap&l...
2014 Dec 10
4
[LLVMdev] Metadata/Value split has landed
The `Metadata`/`Value` split (PR21532) landed in r223802 -- at least, the C++ side of it. This was a rocky day, but I suppose that's what I get for failing to stage the change in smaller pieces. As of r223916 (lldb), I'm not aware of any remaining (in-tree) breakage, so if I've missed some problem in the sea of buildbot errors, please flag me down. I'll follow up soon with
2014 Dec 10
3
[LLVMdev] Metadata/Value split has landed
....6 >>> #3 0x00007ffff59edc42 in __assert_fail () from /lib64/libc.so.6 >>> #4 0x00007ffff3a30e92 in llvm::LeakDetectorImpl<void>::addGarbage(void const*) [clone .part.19] () from /opt/buildbot/lib/libLLVM-3.6svn.so >>> #5 0x00007ffff3a30fd3 in llvm::LeakDetector::addGarbageObjectImpl(void*) () from /opt/buildbot/lib/libLLVM-3.6svn.so >>> #6 0x00007ffff3a40eed in llvm::MDNode::getTemporary(llvm::LLVMContext&, llvm::ArrayRef<llvm::Metadata*>) () from /opt/buildbot/lib/libLLVM-3.6svn.so >>> #7 0x00007ffff3426b3f in MapValueImpl(llvm::Metadata const*,...
2013 Jan 14
2
[LLVMdev] Troubleshooting Internal Garbage Collection
...0x08d2d344 2 0xb7762400 __kernel_sigreturn + 0 3 0xb7762424 __kernel_vsyscall + 16 4 libc.so.6 0xb746a98f gsignal + 79 5 libc.so.6 0xb746c2d5 abort + 373 6 libc.so.6 0xb74636a5 7 libc.so.6 0xb7463757 8 llc 0x08180167 9 llc 0x08c32bec llvm::LeakDetector::addGarbageObjectImpl(void*) + 380 10 llc 0x088a8ec5 llvm::MachineInstr::MachineInstr(llvm::MCInstrDesc const&, llvm::DebugLoc, bool) + 245 11 llc 0x08899daf llvm::MachineFunction::CreateMachineInstr(llvm::MCInstrDesc const&, llvm::DebugLoc, bool) + 111 12 llc 0x0871b4a0 llvm::InstrEmitter::Emi...
2006 May 09
1
[LLVMdev] Memory leaks in LLVM
...== ==10132== ==10132== 20 bytes in 1 blocks are still reachable in loss record 5 of 33 ==10132== at 0x401C7F0: operator new(unsigned) (vg_replace_malloc.c:164) ==10132== by 0x84AAD52: (anonymous namespace)::getLLVMObjects() ( LeakDetector.cpp:93) ==10132== by 0x84AAE55: llvm::LeakDetector::addGarbageObjectImpl(llvm::Value const*) ( LeakDetector.cpp:110) ==10132== by 0x84C469A: llvm::LeakDetector::addGarbageObject(llvm::Value const*) (LeakDetector.h:71) ==10132== by 0x848D194: llvm::BasicBlock::setParent(llvm::Function*) ( BasicBlock.cpp:89) ==10132== by 0x84C4938: llvm::SymbolTableListTraits<...