Can you put the objective-c code that the testcase is derived from into the test? Also, to be precise, your patch isn't reinstating anything it's adding a check where one should have been.<br><div><br></div><div>Thanks.</div>
<div><br></div><div>-eric</div><br><div>On Mon Jan 13 2014 at 2:42:44 AM, Scott Talbot <<a href="mailto:s@chikachow.org">s@chikachow.org</a>> wrote:</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
In both 3.4 and HEAD, generating DWARF debug info with an ObjC property of type void results in a crash in the compiler due to a failed assertion.<br>
That assertion was added in r187963, where it replaced a test with an early-return if the type was invalid.<br>
This change restores the previous behaviour, preventing the emission of a type node for void ObjC properties.<br>
<br>
Scott Talbot (2):<br>
 Avoid emitting a DWARF type for an ObjC property of type void<br>
 Test that an ObjC property of type void is accepted<br>
<br>
lib/CodeGen/AsmPrinter/<u></u>DwarfUnit.cpp       |  3 +-<br>
test/CodeGen/Generic/objc-<u></u>property-void.ll | 83 ++++++++++++++++++++++++++++++<br>
2 files changed, 85 insertions(+), 1 deletion(-)<br>
create mode 100644 test/CodeGen/Generic/objc-<u></u>property-void.ll<br>
<br>
-Scott<br>
<br>
<br>
______________________________<u></u>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu" target="_blank">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/<u></u>mailman/listinfo/llvm-commits</a><br>
</blockquote>