<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Do you want it to be a stand-alone test case for testing suite or just an example that illustrates the problem?<br><div apple-content-edited="true"><div><span style="color: rgb(0, 0, 0); font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; font-family: Calibri, sans-serif; font-size: 10pt;">
</span></div>
</div><br><div><div>On 04 Sep 2014, at 21:47, Rafael Espíndola <<a href="mailto:rafael.espindola@gmail.com">rafael.espindola@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">Can you add a testcase to the patch?<br><br>On 28 May 2014 11:34, Stanislav Karchebny <<a href="mailto:berkus@madfire.net">berkus@madfire.net</a>> wrote:<br><blockquote type="cite">The issue: Trying to build an EFI application with clang on OSX host.<br><br>Specifying -target i386-pe—coff resulted in abort from MCWinCOFFStreamer:<br><br>fatal error in backend: alignment is limited to 32-bytes<br><br>Turns out, that while the streamer was created for coff, the asm backend and asminfo were created for ELF output.<br>The attached patch fixes it by creating appropriate objects when COFF output is requested.<br><br>After applying the patch I was able to successfully build and run my EFI application using only clang/lld (no GNU or MSVC tools involved).<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br><br></blockquote></blockquote></div><br></body></html>