diff options
author | Jacob Lalonde <jalalonde@fb.com> | 2025-04-03 20:45:55 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-04-03 20:45:55 -0700 |
commit | 8e7d6baf0e013408be932758b4a5334c14a34086 (patch) | |
tree | 5c3419faf90512acc4c694823b19a9b19db5a1ef /lldb/source/API | |
parent | 897f9a51b981c773a63dd94709d9de2442feb008 (diff) | |
download | llvm-8e7d6baf0e013408be932758b4a5334c14a34086.zip llvm-8e7d6baf0e013408be932758b4a5334c14a34086.tar.gz llvm-8e7d6baf0e013408be932758b4a5334c14a34086.tar.bz2 |
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
Diffstat (limited to 'lldb/source/API')
-rw-r--r-- | lldb/source/API/SBModule.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/lldb/source/API/SBModule.cpp b/lldb/source/API/SBModule.cpp index 4978a55..985107e 100644 --- a/lldb/source/API/SBModule.cpp +++ b/lldb/source/API/SBModule.cpp @@ -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(); |