aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/API
diff options
context:
space:
mode:
authorJacob Lalonde <jalalonde@fb.com>2025-04-03 20:45:55 -0700
committerGitHub <noreply@github.com>2025-04-03 20:45:55 -0700
commit8e7d6baf0e013408be932758b4a5334c14a34086 (patch)
tree5c3419faf90512acc4c694823b19a9b19db5a1ef /lldb/source/API
parent897f9a51b981c773a63dd94709d9de2442feb008 (diff)
downloadllvm-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.cpp12
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();