[PATCH] D45124: [CodeGen] Record if a C++ record is a trivial type when emitting Codeview

Reid Kleckner via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Jul 20 14:07:18 PDT 2018


rnk added inline comments.


================
Comment at: CodeGen/CGDebugInfo.cpp:2842-2843
+
+    // When emitting codeview, record if a C++ record is trivial type.
+    if (CGM.getCodeGenOpts().EmitCodeView) {
+      if (CXXRD->isTrivial())
----------------
I think we might as well set it when emitting DWARF for simplicity.


Repository:
  rC Clang

https://reviews.llvm.org/D45124





More information about the cfe-commits mailing list