diff options
| author | Shafik Yaghmour <syaghmour@apple.com> | 2019-05-01 22:23:06 +0000 |
|---|---|---|
| committer | Shafik Yaghmour <syaghmour@apple.com> | 2019-05-01 22:23:06 +0000 |
| commit | 2097b1f84d47419f18a4a737e4a00cc26313b868 (patch) | |
| tree | 603ff0f38d3dd9202ed34bcc4ec7feb31c9b8c2e /llvm/lib/TableGen/TGParser.h | |
| parent | fbcec6cad03969405e3712a73531c4703dd030a3 (diff) | |
| download | bcm5719-llvm-2097b1f84d47419f18a4a737e4a00cc26313b868.tar.gz bcm5719-llvm-2097b1f84d47419f18a4a737e4a00cc26313b868.zip | |
Set a CXXRecordDecl to not be passed in registers if DW_CC_pass_by_reference when loading from DWARF
Summary:
This will fix a bug where during expression parsing we are not setting a CXXRecordDecl to not be passed in registers and the resulting code generation is wrong.
The DWARF attribute DW_CC_pass_by_reference tells us that we should not be passing in registers i.e. RAA_Indirect.
This change depends this clang change which fixes the fact that the ASTImporter does not copy RecordDeclBits for CXXRecordDecl: https://reviews.llvm.org/D61140
Differential Revision: https://reviews.llvm.org/D61146
llvm-svn: 359732
Diffstat (limited to 'llvm/lib/TableGen/TGParser.h')
0 files changed, 0 insertions, 0 deletions

