Displaying 1 result from an estimated 1 matches for "lldbprfx".
2006 Mar 19
1
[LLVMdev] Idioms for retrieving global symbols and inheritance
...iterator->second->hasName() causes segfaults. All this is
compiled fine. Following is sample code and output.
Code:
-------------
for ( SymbolTable::type_iterator itr1 = symbTab.type_begin(), itrend1
= symbTab.type_end(); itr1 != itrend1; itr1++ ) {
string typeName = itr1->first;
if ( lldbprfx.compare( typeName.substr( 0, 5 ) ) != 0 ) {
cerr << typeName << endl;
for ( SymbolTable::value_const_iterator itr2 =
symbTab.value_begin( itr1->second ),
itrend2 = symbTab.value_end( itr1->second ); itr2 != itrend2; itr2++ ) {
if ( lldbprfx.compare( ( itr2->f...