LTO: Introduce LTOModule::getSymbolGV().
llvm-svn: 239993
This commit is contained in:
parent
aa9f575ae1
commit
ae7fa78e91
|
@ -143,6 +143,12 @@ public:
|
|||
return nullptr;
|
||||
}
|
||||
|
||||
const GlobalValue *getSymbolGV(uint32_t index) {
|
||||
if (index < _symbols.size())
|
||||
return _symbols[index].symbol;
|
||||
return nullptr;
|
||||
}
|
||||
|
||||
/// Get the number of dependent libraries
|
||||
uint32_t getDependentLibraryCount() {
|
||||
return _deplibs.size();
|
||||
|
|
Loading…
Reference in New Issue