================
@@ -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
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to