[Lldb-commits] [lldb] [lldb] Add the ability to load ELF core file executables and shared libraries from memory (PR #177289)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Mon Jan 26 09:58:48 PST 2026
================
@@ -293,12 +311,23 @@ void ProcessElfCore::UpdateBuildIdForNTFileEntries() {
}
}
-llvm::StringRef ProcessElfCore::GetMainExecutablePath() {
+std::string ProcessElfCore::GetMainExecutablePath() {
----------------
Jlalond wrote:
What's the rationale on returning this a std::string instead of a string ref? Can't we have the string ref point into the Core's data and create a std::string when needed?
https://github.com/llvm/llvm-project/pull/177289
More information about the lldb-commits
mailing list