diff options
| author | Aaron Smith <aaron.smith@microsoft.com> | 2018-10-02 20:21:05 +0000 |
|---|---|---|
| committer | Aaron Smith <aaron.smith@microsoft.com> | 2018-10-02 20:21:05 +0000 |
| commit | 802b033d78b50a9824be32c78cc78a89ae7ac2c2 (patch) | |
| tree | 9bd5b9263d3c8931e1ac6b960e20d65224d3ab3a /llvm/test/Unit/lit.cfg.py | |
| parent | be50052a2b541d6acf687649ad6a6a9e2471d943 (diff) | |
| download | bcm5719-llvm-802b033d78b50a9824be32c78cc78a89ae7ac2c2.tar.gz bcm5719-llvm-802b033d78b50a9824be32c78cc78a89ae7ac2c2.zip | |
[CodeView] Emit function options for subprogram and member functions
Summary:
Use the newly added DebugInfo (DI) Trivial flag, which indicates if a C++ record is trivial or not, to determine Codeview::FunctionOptions.
Clang and MSVC generate slightly different Codeview for C++ records. For example, here is the C++ code for a class with a defaulted ctor,
class C {
public:
C() = default;
};
Clang will produce a LF for the defaulted ctor while MSVC does not. For more details, refer to FIXMEs in the test cases in "function-options.ll" included with this set of changes.
Reviewers: zturner, rnk, llvm-commits, aleksandr.urakov
Reviewed By: rnk
Subscribers: Hui, JDevlieghere
Differential Revision: https://reviews.llvm.org/D45123
llvm-svn: 343626
Diffstat (limited to 'llvm/test/Unit/lit.cfg.py')
0 files changed, 0 insertions, 0 deletions

