<div dir="ltr">On Mon, Sep 9, 2013 at 11:06 AM, Anton Korobeynikov <span dir="ltr"><<a href="mailto:anton@korobeynikov.info" target="_blank">anton@korobeynikov.info</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class="im">>   Why do you say that dllimport could be any visibility?  Is it useful to have a visibility(non-hidden) + dllimport symbol?<br>

</div>Because dllimport has nothing wrt the visibility. Visibility is<br>
essnetially ELF'ish thing. dllexport can be thought as "default"<br>
visibility and everything else is hidden visibility by default, but<br>
dllimport does not fit into this semantics. Trying to fit them into<br>
visibility is essentialy a workaround</blockquote><div><br></div><div>Right, one cannot map dllimport to an existing visibility.  But since it doesn't make sense to combine any other visibility with dllimport, it seems like you could create a new LLVM visibility value for dllimport that doesn't map to ELF visibility.</div>
<div><br></div></div></div></div>