[PATCH] Change representation of dllexport/dllimport

Anton Korobeynikov anton at korobeynikov.info
Mon Sep 9 11:06:38 PDT 2013


>   Why do you say that dllimport could be any visibility?  Is it useful to have a visibility(non-hidden) + dllimport symbol?
Because dllimport has nothing wrt the visibility. Visibility is
essnetially ELF'ish thing. dllexport can be thought as "default"
visibility and everything else is hidden visibility by default, but
dllimport does not fit into this semantics. Trying to fit them into
visibility is essentialy a workaround

-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University



More information about the llvm-commits mailing list