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

via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 14 02:11:52 PDT 2026


llvmbot wrote:


<!--LLVM PR SUMMARY COMMENT-->

@llvm/pr-subscribers-lldb

Author: Sylvestre Ledru (sylvestre)

<details>
<summary>Changes</summary>


Fixes #<!-- -->191967



---
Full diff: https://github.com/llvm/llvm-project/pull/192025.diff


1 Files Affected:

- (modified) lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp (+1-1) 


``````````diff
diff --git a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp
index fc0620428a7bd..25c54243f60ee 100644
--- a/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp
+++ b/lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp
@@ -272,7 +272,7 @@ 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()))

``````````

</details>


https://github.com/llvm/llvm-project/pull/192025


More information about the lldb-commits mailing list