search for: symbtab

Displaying 1 result from an estimated 1 matches for "symbtab".

Did you mean: sym_tab
2006 Mar 19
1
[LLVMdev] Idioms for retrieving global symbols and inheritance
...tor->first would produce. Also, an attempt to access value_iterator->second->getName() produces junk names. value_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 )...