search for: addgarbageobject

Displaying 9 results from an estimated 9 matches for "addgarbageobject".

2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
On Wed, Dec 10, 2014 at 05:27:45PM -0800, Duncan P. N. Exon Smith wrote: > +zalman at google.com > Hi Duncan, This patch plus another small change fixes the assertion failure for me. With the patch alone, the void* overload of addGarbageObject() was being used by MDNode::getTemporary(), so I had to cast the object as an MDNode*: diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp index cd5edd2..916d216 100644 --- a/lib/IR/Metadata.cpp +++ b/lib/IR/Metadata.cpp @@ -564,7 +564,7 @@ MDNode *MDNode::getMDNode(LLVMContext &Context, Ar...
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 cons...
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...On Wed, Dec 10, 2014 at 05:27:45PM -0800, Duncan P. N. Exon Smith wrote: >>> +zalman at google.com >>> >> >> Hi Duncan, >> >> This patch plus another small change fixes the assertion failure for >> me. With the patch alone, the void* overload of addGarbageObject() >> was being used by MDNode::getTemporary(), so I had to cast the object as >> an MDNode*: >> >> diff --git a/lib/IR/Metadata.cpp b/lib/IR/Metadata.cpp >> index cd5edd2..916d216 100644 >> --- a/lib/IR/Metadata.cpp >> +++ b/lib/IR/Metadata.cpp >> @@...
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::ValueM...
2003 Dec 09
2
[LLVMdev] Linking Errors?
Can anyone help with these crazy linking errors?? /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._ZN4l...
2010 Jun 12
1
[LLVMdev] Memory leak?
Hi folk, I get the following stack trace and do have any clue how to fix the problem. 0 opt 0x087ecc99 1 opt 0x087ed265 2 0xb7f6a400 __kernel_sigreturn + 0 3 opt 0x086d4198 llvm::LeakDetector::addGarbageObject(llvm::Value const*) + 29 4 opt 0x0872945f llvm::Instruction::Instruction(llvm::Type const*, unsigned int, llvm::Use*, unsigned int, llvm::Instruction*) + 109 5 opt 0x083d208b llvm::UnaryInstruction::UnaryInstruction(llvm::Type const*, unsigned int, llvm::Value*, llvm::...
2003 Dec 09
0
[LLVMdev] Linking Errors?
...s well to tell the linker where to find "libsupport.a" (file included by the -lsupport option). Reid. Kevin Gibbs wrote: > Can anyone help with these crazy linking errors?? > > > > /home/kgibbs/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/...
2003 Dec 09
3
[LLVMdev] Linking Errors?
...t; (file included by > the -lsupport option). > > Reid. > > Kevin Gibbs wrote: > > > Can anyone help with these crazy linking errors?? > > > > > > > > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/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...
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...