<div dir="ltr">Thanks, @rnk.<div>I am debugging it.<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Dec 23, 2019 at 9:54 AM Reid Kleckner via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">rnk added a comment.<br>
<br>
I was able to reproduce this, but I think the issue is pre-existing. It looks like llc never calls TargetObjectFileInfo::Initialize when doing MIR parsing, but it probably should. The constructor of MCObjectFileInfo leaves the `Env` uninitialized, because it doesn't have the triple yet. The easiest way to observe the failure is with ubsan, since MSan is difficult to set up. I don't plan to debug this any further.<br>
<br>
<br>
Repository:<br>
  rG LLVM Github Monorepo<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D71360/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D71360/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D71360" rel="noreferrer" target="_blank">https://reviews.llvm.org/D71360</a><br>
<br>
<br>
<br>
</blockquote></div>