<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Mar 24, 2017 at 2:14 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">This has the disadvantage that now two parts of the llvm are responsible<br>
for converting dllexport to linker directives (even if they share the<br>
function they call).<br>
<br>
I would prefer your previous solution or for the linker to keep a<br>
dllexport declaration in the IR.<br></blockquote><div><br></div><div>That proposal has the disadvantage that it breaks StripFunctionPrototypes and GlobalDCE. I thought we covered that in the discussion somewhere.</div><div><br></div><div>I like this change as is. It's the minimal change necessary to make progress without changing any models.</div></div></div></div>