diff options
author | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-11-18 10:22:14 -0500 |
---|---|---|
committer | Joel E. Denny <jdenny.ornl@gmail.com> | 2019-11-18 11:55:25 -0500 |
commit | c85fa79d3663ecb3117e178b2a79ffa721d18e32 (patch) | |
tree | dfb02d49e530d64e4d0e4e3e9e9c370c2e4ed03a /lldb/packages/Python/lldbsuite/test/python_api/thread | |
parent | 015b2e699f0c7205564e51dd73a0d619571640bf (diff) | |
download | bcm5719-llvm-c85fa79d3663ecb3117e178b2a79ffa721d18e32.tar.gz bcm5719-llvm-c85fa79d3663ecb3117e178b2a79ffa721d18e32.zip |
[Attr] Fix `-ast-print` for `asm` attribute
Without this fix, the tests introduced here produce the following
assert fail:
```
clang: /home/jdenny/llvm/clang/include/clang/Basic/AttributeCommonInfo.h:163: unsigned int clang::AttributeCommonInfo::getAttributeSpellingListIndex() const: Assertion `(isAttributeSpellingListCalculated() || AttrName) && "Spelling cannot be found"' failed.
```
The bug was introduced by D67368, which caused `AsmLabelAttr`'s
spelling index to be set to `SpellingNotCalculated`.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D70349
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/python_api/thread')
0 files changed, 0 insertions, 0 deletions