search for: gvrefmap

Displaying 2 results from an estimated 2 matches for "gvrefmap".

Did you mean: direfmap
2004 Feb 02
2
[LLVMdev] Bug In Module::getConstantPointerRef ?
...for red black trees (bits/stl_tree.h). The crash occurs as the result of an LLVM Module method, getConstantPointerRef which looks like: // Accessor for the underlying GlobalValRefMap... ConstantPointerRef *Module::getConstantPointerRef(GlobalValue *V){ // Create ref map lazily on demand... if (GVRefMap == 0) GVRefMap = new GlobalValueRefMap(); GlobalValueRefMap::iterator I = GVRefMap->Map.find(V); if (I != GVRefMap->Map.end()) retu...
2004 Feb 02
0
[LLVMdev] Bug In Module::getConstantPointerRef ?
...Mon, 2 Feb 2004, Reid Spencer wrote: > > _Link_type __x = _M_root(); // Current node. > > The _M_root() call is de-referencing the _M_header field. > > This could, ostensibly, be a bug in std::_Rb_tree template but it could > also be a usage problem. > > Note that the GVRefMap (in Module.cpp) has no constructor and just uses > the default. Presumably the default constructor of the std::map (member > Map) is also called but that constructor doesn't do much (i.e. provide a > value for _M_header). > > One other note: this used to work a couple weeks ago....