We're having trouble reaching agreement about whether to adjust the GVALinkage for dllimport/export, or doing it in CodeGen as in the first version of the patch. It would be interesting to hear your opinion on this. http://reviews.llvm.org/D3772