aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-01-14 20:53:57 +0000
committerDouglas Gregor <dgregor@apple.com>2013-01-14 20:53:57 +0000
commit858afb3c22144027bcd8ba75e27262eede093a60 (patch)
tree892e86ebdb6d8e7b082ef193d2ed5c0d17d0757a /lib/CodeGen/CodeGenModule.h
parent3baad29d4413e1409fc69a472d374cf5de1d78ec (diff)
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
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h3
1 files changed, 3 insertions, 0 deletions
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