aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectThread.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2020-03-27 12:38:20 -0400
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2020-04-01 22:17:43 -0400
commit5767085c8de97d15d7fb5433f22bb5b858cc4f3a (patch)
tree17b95ce23ce16bd6bdc9d0123a50b86543edef75 /lldb/source/Commands/CommandObjectThread.cpp
parentff09135fc2b7a9696f87a8a8e89be2ef777895d3 (diff)
downloadllvm-5767085c8de97d15d7fb5433f22bb5b858cc4f3a.zip
llvm-5767085c8de97d15d7fb5433f22bb5b858cc4f3a.tar.gz
llvm-5767085c8de97d15d7fb5433f22bb5b858cc4f3a.tar.bz2
Fix infinite recursion in deferred diag emitter
Currently deferred diagnostic emitter checks variable decl in DeclRefExpr, which causes infinite recursion for cases like long a = (long)&a;. Deferred diagnostic emitter does not need check variable decls in DeclRefExpr since reference of a variable does not cause emission of functions directly or indirectly. Therefore there is no need to check variable decls in DeclRefExpr. Differential Revision: https://reviews.llvm.org/D76937
Diffstat (limited to 'lldb/source/Commands/CommandObjectThread.cpp')
0 files changed, 0 insertions, 0 deletions