forked from llvm/llvm-project
-
Notifications
You must be signed in to change notification settings - Fork 333
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Reproducer] Capture the debugger's working directory
This patch extends the reproducer to capture the debugger's current working directory. This information will be used later to set the current working directory of the VFS. llvm-svn: 375059
- Loading branch information
1 parent
d3dd489
commit 27ef81c
Showing
3 changed files
with
47 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# This tests relative capture paths. | ||
|
||
# RUN: echo "CHECK: %t" > %t.check | ||
|
||
# RUN: rm -rf %t.repro | ||
# RUN: mkdir -p %t.repro | ||
# RUN: mkdir -p %t | ||
# RUN: cd %t | ||
# RUN: %clang %S/Inputs/simple.c -g -o %t/reproducer.out | ||
# RUN: %lldb -x -b -s %S/Inputs/FileCapture.in --capture --capture-path %t.repro %t/reproducer.out | ||
# RUN: cat %t.repro/cwd.txt | FileCheck %t.check |