From 858afb3c22144027bcd8ba75e27262eede093a60 Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 14 Jan 2013 20:53:57 +0000 Subject: Topologically sort the link options generated for modules based on module-import dependencies, so we'll get the link order correct for those silly linkers that need it. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172459 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/CodeGenModule.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib/CodeGen/CodeGenModule.h') diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h index 4088caca50..00a98a6424 100644 --- a/lib/CodeGen/CodeGenModule.h +++ b/lib/CodeGen/CodeGenModule.h @@ -995,6 +995,9 @@ private: /// references to global which may otherwise be optimized out. void EmitLLVMUsed(); + /// \brief Emit the link options introduced by imported modules. + void EmitModuleLinkOptions(); + void EmitDeclMetadata(); /// EmitCoverageFile - Emit the llvm.gcov metadata used to tell LLVM where -- cgit v1.2.3