[Lldb-commits] [lldb] a35e218 - [lldb] Fix ambiguous call to create_directories in TraceIntelPTBundleSaver (#191967) (#192025)

via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 21 01:09:58 PDT 2026


Author: Sylvestre Ledru
Date: 2026-04-21T09:09:53+01:00
New Revision: a35e21861f9129e2265ce95f7ea23925a05f9421

URL: https://github.com/llvm/llvm-project/commit/a35e21861f9129e2265ce95f7ea23925a05f9421
DIFF: https://github.com/llvm/llvm-project/commit/a35e21861f9129e2265ce95f7ea23925a05f9421.diff

LOG: [lldb] Fix ambiguous call to create_directories in TraceIntelPTBundleSaver (#191967) (#192025)

Fixes #191967

Added: 
    

Modified: 
    lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp

Removed: 
    


################################################################################
diff  --git a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp
index fc0620428a7bd..3827750d2f489 100644
--- a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp
+++ b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp
@@ -272,7 +272,8 @@ BuildModulesSection(Process &process, FileSpec directory) {
     FileSpec path_to_copy_module = directory;
     path_to_copy_module.AppendPathComponent("modules");
     path_to_copy_module.AppendPathComponent(system_path);
-    sys::fs::create_directories(path_to_copy_module.GetDirectory());
+    sys::fs::create_directories(
+        path_to_copy_module.GetDirectory().GetStringRef());
 
     if (std::error_code ec =
             llvm::sys::fs::copy_file(file, path_to_copy_module.GetPath()))


        


More information about the lldb-commits mailing list