summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/AVR
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-10-04 10:24:36 +0000
committerAlexander Kornienko <alexfh@google.com>2017-10-04 10:24:36 +0000
commit9ad43a1cf1963219acaac88d763b1e3fc2857554 (patch)
tree30802e912f1146584cb095b3997fa9f2fa019905 /llvm/test/CodeGen/AVR
parentc52b71db152473a12e7b2f35f214d8924a14c6e0 (diff)
downloadbcm5719-llvm-9ad43a1cf1963219acaac88d763b1e3fc2857554.tar.gz
bcm5719-llvm-9ad43a1cf1963219acaac88d763b1e3fc2857554.zip
Fix assertion failure in thread safety analysis (PR34800).
Summary: Fix an assertion failure (http://llvm.org/PR34800) and clean up unused code relevant to the fixed logic. A bit of context: when `SExprBuilder::translateMemberExpr` is called on a member expression that involves a conversion operator, for example, `til::Project` constructor can't just call `getName()` on it, since the name is not a simple identifier. In order to handle this case I've introduced an optional string to print the member name to. I discovered that the other two `til::Project` constructors are not used, so it was better to delete them instead of ensuring they work correctly with the new logic. Reviewers: aaron.ballman Reviewed By: aaron.ballman Subscribers: cfe-commits Differential Revision: https://reviews.llvm.org/D38458 llvm-svn: 314895
Diffstat (limited to 'llvm/test/CodeGen/AVR')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud