<div dir="ltr">Actually I can't. yaml2obj can't serialize/deserialize .so files, and you can't use lld to generate a .so containing a section whose alignment is greater than 2^32. Looks like I need to check in a binary generated by ld.gold.<div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 2:43 PM, Rui Ueyama <span dir="ltr"><<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I can. I filed a bug as <a href="https://bugs.llvm.org/show_bug.cgi?id=35218" target="_blank">https://bugs.llvm.org/show_bug<wbr>.cgi?id=35218</a></div><div class="m_7648044225849973455HOEnZb"><div class="m_7648044225849973455h5"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 6, 2017 at 2:37 PM, Rafael Avila de Espindola <span dir="ltr"><<a href="mailto:rafael.espindola@gmail.com" target="_blank">rafael.espindola@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Rui Ueyama <<a href="mailto:ruiu@google.com" target="_blank">ruiu@google.com</a>> writes:<br>
<br>
> It is funny that llvm-mc fails with an assertion failure when your assembly<br>
> contains ".align 0x100000000" because it assumes internally that alignments<br>
> is less than 2^32. I need to fix it first.<br>
<br>
</span>Can you use yaml2obj for the testcase?<br>
<br>
Cheers,<br>
Rafael<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div></div>