Just to be clear, this patch was only intended to be a starting point.  I didn't run the test suite or do anything other than verify that the core loaded.  ArchSpec is a pretty core class so touching it in this manner is likely to have many side effects that you'll need to work out.<br><br>Most likely so many tests fail on NetBSD that it masks the regressions, but you should at least be able to diff your test results before/after <br><div class="gmail_quote"><div dir="ltr">On Tue, Apr 11, 2017 at 6:12 AM Kamil Rytarowski 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">krytarowski added a comment.<br>
<br>
I might need some guidance to address the asserts appropriately in finite time.<br>
<br>
In general we set osabi to generic unix (value 0), and NetBSD core(5) files are distinguished only (or mostly) with "NetBSD-CORE*" notes.<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
<a href="https://reviews.llvm.org/D31825" rel="noreferrer" target="_blank">https://reviews.llvm.org/D31825</a><br>
<br>
<br>
<br>
</blockquote></div>