r208936 - test/CodeGenCXX/dllexport.cpp: we already correctly emit b() even when
Hans Wennborg
hans at hanshq.net
Thu May 15 17:09:31 PDT 2014
Author: hans
Date: Thu May 15 19:09:31 2014
New Revision: 208936
URL: http://llvm.org/viewvc/llvm-project?rev=208936&view=rev
Log:
test/CodeGenCXX/dllexport.cpp: we already correctly emit b() even when
it's not used, because CodeGenModule::EmitGlobal consults
ASTContext::DeclMustBeEmitted via CodeGenModule::MayDeferGeneration.
Modified:
cfe/trunk/test/CodeGenCXX/dllexport.cpp
Modified: cfe/trunk/test/CodeGenCXX/dllexport.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/dllexport.cpp?rev=208936&r1=208935&r2=208936&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/dllexport.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/dllexport.cpp Thu May 15 19:09:31 2014
@@ -18,8 +18,7 @@ struct S {
};
void user() {
- // FIXME: dllexported functions must be emitted even if they're not referenced in this TU.
a();
- b();
+ // FIXME: dllexported methods must be emitted even if they're not referenced in this TU.
&S::a;
}
More information about the cfe-commits
mailing list