aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBasicBlock.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2011-10-14 07:41:33 +0000
committerGreg Clayton <gclayton@apple.com>2011-10-14 07:41:33 +0000
commit5a31471e72d4ca39ba83804b2f74ad694207b25a (patch)
tree6644806a1f48ff7a60ea8fc7639f06b30e11ff7e /llvm/lib/CodeGen/MachineBasicBlock.cpp
parent965de2c197ef28761845f30fc439095778e3865f (diff)
downloadllvm-5a31471e72d4ca39ba83804b2f74ad694207b25a.zip
llvm-5a31471e72d4ca39ba83804b2f74ad694207b25a.tar.gz
llvm-5a31471e72d4ca39ba83804b2f74ad694207b25a.tar.bz2
Added the ability to run expressions in any command. Expressions can be
inserted in commands by using backticks: (lldb) memory read `$rsp-16` `$rsp+16` (lldb) memory read -c `(int)strlen(argv[0])` `argv[0]` The result of the expression will be inserted into the command as a sort of preprocess stage where this gets done first. We might need to tweak where this preprocess stage goes, but it is very functional already. Added ansi color support to the Debugger::FormatPrompt() so you can use things like "${ansi.fg.blue}" and "${ansi.bold}" many more. This helps in adding colors to your prompts without needing to know the ANSI color code strings. llvm-svn: 141948
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions