Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Driver] Add command line option to allow loading local lldbinit file.
This patch adds a command line flag that allows lldb to load local lldbinit files. Differential revision: https://reviews.llvm.org/D61578 llvm-svn: 360172
- Loading branch information
1 parent
16977d6
commit 880c80d
Showing
3 changed files
with
13 additions
and
2 deletions.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,12 @@ | ||
# RUN: mkdir -p %t.root | ||
# RUN: mkdir -p %t.home | ||
# RUN: cp %S/Inputs/.lldbinit %t.root | ||
# RUN: cd %t.root | ||
# RUN: %lldb-init -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=INIT --check-prefix=CHECK | ||
# RUN: env HOME=%t.home %lldb-init -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=WARNINIT --check-prefix=CHECK | ||
# RUN: env HOME=%t.home %lldb-init -local-lldbinit -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=ALLOWINIT --check-prefix=NOINIT | ||
# RUN: %lldb -o 'settings show frame-format' 2>&1 | FileCheck %s --check-prefix=NOINIT --check-prefix=CHECK | ||
|
||
# INIT: There is a .lldbinit file in the current directory which is not being read. | ||
# WARNINIT: There is a .lldbinit file in the current directory which is not being read. | ||
# NOINIT-NOT: There is a .lldbinit file in the current directory which is not being read. | ||
# CHECK-NOT: bogus | ||
# ALLOWINIT: bogus |
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