X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FObject%2FIRObjectFile.cpp;h=b3d5db85ed5283b82e3767955fcc2d66ecfdf0b3;hp=e89cb8ead36d08eca9f5336cbae008863fff2095;hb=6170134a1fb0af16d0681f90b6cc4f07f979ee3c;hpb=6f69f4074fdc5b464b32134d6be96a67a9c1376e diff --git a/lib/Object/IRObjectFile.cpp b/lib/Object/IRObjectFile.cpp index e89cb8ead36..b3d5db85ed5 100644 --- a/lib/Object/IRObjectFile.cpp +++ b/lib/Object/IRObjectFile.cpp @@ -198,6 +198,9 @@ std::error_code IRObjectFile::printSymbolName(raw_ostream &OS, return std::error_code(); } + if (GV->hasDLLImportStorageClass()) + OS << "__imp_"; + if (Mang) Mang->getNameWithPrefix(OS, GV, false); else