aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2017-05-05 22:42:13 +0000
committerLang Hames <lhames@gmail.com>2017-05-05 22:42:13 +0000
commit8b38565b2f576f0d46e7ac16ce18ec9e4643eafb (patch)
treecb1852d35b7ab1d7f5ba3a40d200878b32b3d283 /clang/lib/Frontend/CompilerInvocation.cpp
parent23bcad226c564944d2155b027b9c9fe8a2591d05 (diff)
downloadllvm-8b38565b2f576f0d46e7ac16ce18ec9e4643eafb.zip
llvm-8b38565b2f576f0d46e7ac16ce18ec9e4643eafb.tar.gz
llvm-8b38565b2f576f0d46e7ac16ce18ec9e4643eafb.tar.bz2
Add DidStartExecuting/WillFinishExecuting methods to Expression.
These methods can be used by the derived expression types to perform expression specific and/or language specific actions before and after the expression runs. (ThreadPlanCallUserExpression is modified to call these methods on the expression immediately before/after execution of the expression). The immediate motivation is allowing Swift expressions to notify the swift runtime that exclusivity enforcement should be suspended while the expression runs (we want LLDB expressions to be able to access variables even when they're considered exclusively owned by someone else in the original program). Reviewed in https://reviews.llvm.org/D32889 llvm-svn: 302314
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions