summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-02-15 01:51:24 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-02-15 01:51:24 +0000
commitcfd4553a7cccb7c3a0759be6f4c57c938094310b (patch)
tree8af21957f9ae80f80f907a57a956706f4f66df09 /lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp
parentd5719084451ae227c75b2db7078162f921a5a823 (diff)
downloadbcm5719-llvm-cfd4553a7cccb7c3a0759be6f4c57c938094310b.tar.gz
bcm5719-llvm-cfd4553a7cccb7c3a0759be6f4c57c938094310b.zip
Sema: prevent assertion on stack return checking
In the case that the array indexing itself is within a type dependent context, bail out of the evaluation. We would previously try to symbolically evaluate the expression which would then try to evaluate a non-address expression as an address, triggering an assertion in Asserts builds. We only need to consider the array subscript expression itself as in the case that the base itself being type dependent is handled appropriately in EvalAddr. Resolves PR26599. llvm-svn: 260867
Diffstat (limited to 'lldb/source/Plugins/ExpressionParser/Clang/ClangExpressionDeclMap.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud