<div dir="ltr">This still doesn't /sound/ right to me - the triviality of a class doesn't seem like it would correctly allow you to deduce the triviality of specific special members? Because the the class would only be considered trivial if all the special members are trivial, probably?<br><br>I suspect the CxxReturnUdt might be related to the PassByValue/Reference feature we already have for DWARF.<br><br>For example does MSVC put CxxReturnUdt on return types where they have a non-trivial default ctor, but a trivial copy ctor? or other variations like that.<br><br>Reid/Zach - you two looked at this sort of thing & have a better sense of what each of these flags represent? (maybe ideas about what we should do for types marked with Clang's [[trivial_abi]] attribute (obviously wouldn't be interoperable with code compiled with MSVC since it doesn't support the attribute - but still be good to know how to describe the type to the debugger)?</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Apr 3, 2018 at 11:13 AM Aaron Smith via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">asmith added a comment.<br>
<br>
<a href="https://reviews.llvm.org/D44406" rel="noreferrer" target="_blank">https://reviews.llvm.org/D44406</a> is not completely the same as this one yes. Did you look at the<br>
MSVC examples in <a href="https://reviews.llvm.org/D45123" rel="noreferrer" target="_blank">https://reviews.llvm.org/D45123</a>?<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D45122" rel="noreferrer" target="_blank">https://reviews.llvm.org/D45122</a><br>
<br>
<br>
<br>
</blockquote></div>