search for: removegarbageobjectimpl

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

2003 Dec 09
2
[LLVMdev] Linking Errors?
...39; /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 `llvm::LeakDetector::removeGarbageObjectImpl(llvm::Value const*)' /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12Lea kDetector15checkForGarbageERKSs+0xd): In function `llvm::LeakDetector::checkForGarbage(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': /...
2003 Dec 09
0
[LLVMdev] Linking Errors?
...321/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: undefined reference to > `llvm::LeakDetector::removeGarbageObjectImpl(llvm::Value const*)' > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12LeakDetector15checkForGarbageERKSs+0xd): > In function > `llvm::LeakDetector::checkForGarbage(std::basic_string<char, > std::char_traits<char>, std::allocator<char>...
2003 Dec 09
3
[LLVMdev] Linking Errors?
....o(.gnu.linkonce.t._ZN4llvm12L > eakDetector19removeGarbageObjectEPKNS_5ValueE+0xd): > > In function `llvm::LeakDetector::removeGarbageObject(llvm::Value > const*)': > > > > /usr/include/c++/3.2.1/bits/stl_pair.h:148: undefined reference to > > `llvm::LeakDetector::removeGarbageObjectImpl(llvm::Value const*)' > > > > > /home/kgibbs/CS321/CVS/llvm/lib/Debug/vmcore.o(.gnu.linkonce.t._ZN4llvm12L > eakDetector15checkForGarbageERKSs+0xd): > > In function > > `llvm::LeakDetector::checkForGarbage(std::basic_string<char, > > std::char_traits<cha...
2014 Dec 11
2
[LLVMdev] Metadata/Value split has landed
...+79,17 @@ struct LeakDetector { > #endif > } > > + static void addGarbageObject(const MDNode *Object) { > +#ifndef NDEBUG > + addGarbageObjectImpl(Object); > +#endif > + } > + static void removeGarbageObject(const MDNode *Object) { > +#ifndef NDEBUG > + removeGarbageObjectImpl(Object); > +#endif > + } > + > private: > // If we are debugging, the actual implementations will be called... > static void addGarbageObjectImpl(const Value *Object); >> >> >> I'm in favor of committing this. >> >> -Tom >> >>...
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