diff options
author | Jim Ingham <jingham@apple.com> | 2010-10-14 23:45:03 +0000 |
---|---|---|
committer | Jim Ingham <jingham@apple.com> | 2010-10-14 23:45:03 +0000 |
commit | 36f3b369d2632e6898166c0e697f85e2ab458ece (patch) | |
tree | 62bfedb1bc23100bdf34b43673fa90dbc0f38d5e /lldb/source/Expression/ClangExpressionParser.cpp | |
parent | 3f1cf0f373ab9915d4f7dff04c57017c62869386 (diff) | |
download | bcm5719-llvm-36f3b369d2632e6898166c0e697f85e2ab458ece.tar.gz bcm5719-llvm-36f3b369d2632e6898166c0e697f85e2ab458ece.zip |
Added support for breakpoint conditions. I also had to separate the "run the expression" part of ClangFunction::Execute from the "Gather the expression result" so that in the case of the Breakpoint condition I can move the condition evaluation into the normal thread plan processing.
Also added support for remembering the "last set breakpoint" so that "break modify" will act on the last set breakpoint.
llvm-svn: 116542
Diffstat (limited to 'lldb/source/Expression/ClangExpressionParser.cpp')
-rw-r--r-- | lldb/source/Expression/ClangExpressionParser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/ClangExpressionParser.cpp b/lldb/source/Expression/ClangExpressionParser.cpp index 7085f407170..506f2f5ffd9 100644 --- a/lldb/source/Expression/ClangExpressionParser.cpp +++ b/lldb/source/Expression/ClangExpressionParser.cpp @@ -447,7 +447,7 @@ ClangExpressionParser::MakeJIT (lldb::addr_t &func_addr, return err; } - if (m_expr.NeedsValidation()) + if (m_expr.NeedsValidation() && exe_ctx.process->GetDynamicCheckers()) { /* Disabled temporarily - TODO Centralize and re-enable this inside Process to avoid race conditions |