Test?

On Mon, Jul 23, 2018 at 11:49 PM, Aaron Smith via Phabricator via
llvm-commits <llvm-comm...@lists.llvm.org> wrote:
> This revision was automatically updated to reflect the committed changes.
> Closed by commit rC337736: [CodeGen] Record if a C++ record is a trivial type 
> (authored by asmith, committed by ).
>
> Repository:
>   rC Clang
>
> https://reviews.llvm.org/D45124
>
> Files:
>   lib/CodeGen/CGDebugInfo.cpp
>
>
> Index: lib/CodeGen/CGDebugInfo.cpp
> ===================================================================
> --- lib/CodeGen/CGDebugInfo.cpp
> +++ lib/CodeGen/CGDebugInfo.cpp
> @@ -2908,6 +2908,10 @@
>        Flags |= llvm::DINode::FlagTypePassByReference;
>      else
>        Flags |= llvm::DINode::FlagTypePassByValue;
> +
> +    // Record if a C++ record is trivial type.
> +    if (CXXRD->isTrivial())
> +      Flags |= llvm::DINode::FlagTrivial;
>    }
>
>    llvm::DICompositeType *RealDecl = DBuilder.createReplaceableCompositeType(
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-comm...@lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to