aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
diff options
context:
space:
mode:
authorAaron Smith <aaron.smith@microsoft.com>2018-10-02 20:21:05 +0000
committerAaron Smith <aaron.smith@microsoft.com>2018-10-02 20:21:05 +0000
commit802b033d78b50a9824be32c78cc78a89ae7ac2c2 (patch)
tree9bd5b9263d3c8931e1ac6b960e20d65224d3ab3a /clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp
parentbe50052a2b541d6acf687649ad6a6a9e2471d943 (diff)
downloadllvm-802b033d78b50a9824be32c78cc78a89ae7ac2c2.zip
llvm-802b033d78b50a9824be32c78cc78a89ae7ac2c2.tar.gz
llvm-802b033d78b50a9824be32c78cc78a89ae7ac2c2.tar.bz2
[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 'clang/lib/FrontendTool/ExecuteCompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions