mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
LTO: Introduce LTOModule::getSymbolGV().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239993 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e520b7069e
commit
e86e4ec406
@ -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
Block a user