Skip to content

Commit 1815d62

Browse files
committed
[lldb] Add more logging to a unit test
to debug problems with #137978.
1 parent ed0aa99 commit 1815d62

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lldb/unittests/Host/HostTest.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,10 @@ TEST(Host, LaunchProcessDuplicatesHandle) {
106106
Pipe pipe;
107107
ASSERT_THAT_ERROR(pipe.CreateNew(/*child_process_inherit=*/false).takeError(),
108108
llvm::Succeeded());
109+
SCOPED_TRACE(llvm::formatv("Pipe handles are: {0}/{1}",
110+
(uint64_t)pipe.GetReadPipe(),
111+
(uint64_t)pipe.GetWritePipe())
112+
.str());
109113
ProcessLaunchInfo info;
110114
info.SetExecutableFile(FileSpec(TestMainArgv0),
111115
/*add_exe_file_as_first_arg=*/true);

0 commit comments

Comments
 (0)