Revert "[LLDB] Expose checking if the symbol file exists/is loaded via SBModule" (#134341)

Reverts llvm/llvm-project#134163

Reverting while @clayborg and I come up with a better API
This commit is contained in:
Jacob Lalonde 2025-04-03 20:45:55 -07:00 committed by GitHub
parent 897f9a51b9
commit 8e7d6baf0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 0 additions and 15 deletions

View File

@ -290,9 +290,6 @@ public:
lldb::SBAddress GetObjectFileHeaderAddress() const;
lldb::SBAddress GetObjectFileEntryPointAddress() const;
/// Get if the symbol file for this module is loaded.
bool IsDebugInfoLoaded() const;
/// Get the number of global modules.
static uint32_t GetNumberAllocatedModules();

View File

@ -659,18 +659,6 @@ lldb::SBAddress SBModule::GetObjectFileEntryPointAddress() const {
return sb_addr;
}
bool SBModule::IsDebugInfoLoaded() const {
LLDB_INSTRUMENT_VA(this);
ModuleSP module_sp(GetSP());
if (module_sp) {
SymbolFile *sym_file = module_sp->GetSymbolFile(/*create=*/false);
return sym_file && sym_file->GetLoadDebugInfoEnabled();
}
return false;
}
uint32_t SBModule::GetNumberAllocatedModules() {
LLDB_INSTRUMENT();