Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Highlight the color marker similar to what we do for the column marker. The default color matches the color of the current PC marker (->) in the default disassembly format. Differential revision: https://reviews.llvm.org/D75070 (cherry picked from commit 841be98)
- Loading branch information
1 parent
037c8ba
commit 22ef4fe
Showing
6 changed files
with
60 additions
and
4 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
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
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,17 @@ | ||
# RUN: %clang_host -g -O0 %S/Inputs/main.c -o %t.out | ||
# RUN: %lldb -x -b -s %s %t.out | FileCheck %s | ||
settings set use-color true | ||
settings set stop-show-line-ansi-prefix "prefix" | ||
settings set stop-show-line-ansi-suffix "suffix" | ||
b foo | ||
run | ||
c | ||
settings set stop-show-line-ansi-prefix ${ansi.fg.green} | ||
settings set stop-show-line-ansi-suffix ${ansi.normal} | ||
run | ||
q | ||
|
||
# Check the ASCII escape code | ||
# CHECK-NOT: prefix->suffix | ||
# CHECK: -> | ||
# CHECK: {{.*}}->{{.*}} |