[Lldb-commits] [lldb] [lldb] Fix ambiguous call to create_directories in TraceIntelPTBundleSaver (#191967) (PR #192025)
Sylvestre Ledru via lldb-commits
lldb-commits at lists.llvm.org
Tue Apr 14 02:18:53 PDT 2026
https://github.com/sylvestre updated https://github.com/llvm/llvm-project/pull/192025
>From 15a6add586f88c018449e1c40202f2f133630269 Mon Sep 17 00:00:00 2001
From: Sylvestre Ledru <sylvestre at debian.org>
Date: Tue, 14 Apr 2026 11:07:14 +0200
Subject: [PATCH] [lldb] Fix ambiguous call to create_directories in
TraceIntelPTBundleSaver (#191967)
Fixes #191967
---
lldb/source/Plugins/Trace/intel-pt/TraceIntelPTBundleSaver.cpp | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
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