#include <linking_class.h>
|
renamingt | needs_renaming_type (const symbolt &old_symbol, const symbolt &new_symbol) |
|
renamingt | needs_renaming_non_type (const symbolt &old_symbol, const symbolt &new_symbol) |
|
renamingt | needs_renaming (const symbolt &old_symbol, const symbolt &new_symbol) |
|
std::unordered_map< irep_idt, irep_idt > | rename_symbols (const symbol_table_baset &, const std::unordered_set< irep_idt > &needs_to_be_renamed) |
|
void | copy_symbols (const symbol_table_baset &, const std::unordered_map< irep_idt, irep_idt > &) |
|
void | duplicate_non_type_symbol (symbolt &old_symbol, symbolt &new_symbol) |
|
void | duplicate_code_symbol (symbolt &old_symbol, symbolt &new_symbol) |
|
void | duplicate_object_symbol (symbolt &old_symbol, symbolt &new_symbol) |
|
bool | adjust_object_type (const symbolt &old_symbol, const symbolt &new_symbol, bool &set_to_new) |
|
bool | adjust_object_type_rec (const typet &type1, const typet &type2, adjust_type_infot &info) |
|
void | duplicate_type_symbol (symbolt &old_symbol, const symbolt &new_symbol) |
|
irep_idt | rename (const symbol_table_baset &, const irep_idt &) |
|
Definition at line 26 of file linking_class.h.
◆ renamingt
Enumerator |
---|
NO_RENAMING | |
RENAME_OLD | |
RENAME_NEW | |
Definition at line 47 of file linking_class.h.
◆ linkingt()
◆ adjust_object_type()
bool linkingt::adjust_object_type |
( |
const symbolt & |
old_symbol, |
|
|
const symbolt & |
new_symbol, |
|
|
bool & |
set_to_new |
|
) |
| |
|
protected |
◆ adjust_object_type_rec()
◆ copy_symbols()
◆ duplicate_code_symbol()
void linkingt::duplicate_code_symbol |
( |
symbolt & |
old_symbol, |
|
|
symbolt & |
new_symbol |
|
) |
| |
|
protected |
◆ duplicate_non_type_symbol()
void linkingt::duplicate_non_type_symbol |
( |
symbolt & |
old_symbol, |
|
|
symbolt & |
new_symbol |
|
) |
| |
|
protected |
◆ duplicate_object_symbol()
void linkingt::duplicate_object_symbol |
( |
symbolt & |
old_symbol, |
|
|
symbolt & |
new_symbol |
|
) |
| |
|
protected |
◆ duplicate_type_symbol()
void linkingt::duplicate_type_symbol |
( |
symbolt & |
old_symbol, |
|
|
const symbolt & |
new_symbol |
|
) |
| |
|
protected |
◆ link()
Merges the symbol table src_symbol_table
into main_symbol_table
, renaming symbols from src_symbol_table
when necessary.
- Returns
- True, iff linking failed with unresolvable conflicts.
Definition at line 1053 of file linking.cpp.
◆ needs_renaming()
◆ needs_renaming_non_type()
◆ needs_renaming_type()
◆ rename()
◆ rename_symbols()
◆ main_symbol_table
◆ message_handler
◆ ns
◆ object_type_updates
◆ rename_main_symbol
◆ rename_new_symbol
◆ renamed_ids
std::unordered_set<irep_idt> linkingt::renamed_ids |
|
protected |
The documentation for this class was generated from the following files: