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/Support/FileCheck.cpp | |
parent | fbcec6cad03969405e3712a73531c4703dd030a3 (diff) | |
download | llvm-2097b1f84d47419f18a4a737e4a00cc26313b868.zip llvm-2097b1f84d47419f18a4a737e4a00cc26313b868.tar.gz llvm-2097b1f84d47419f18a4a737e4a00cc26313b868.tar.bz2 |
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/Support/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions