aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenModule.h
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2013-01-14 18:28:43 +0000
committerDouglas Gregor <dgregor@apple.com>2013-01-14 18:28:43 +0000
commit5d75ea72d6eee3df0c6acdb282145dc4cc3a9a1b (patch)
tree240ca7fd2df2161f0fa7a1aafbead9e108a6e331 /lib/CodeGen/CodeGenModule.h
parent8767dc29ec23f96e71658f760333bdf5d87283d5 (diff)
Switch autolinking metadata format over to actual linker options, e.g.,
!0 = metadata !{metadata !"-lautolink"} !1 = metadata !{metadata !"-framework", metadata !"autolink_framework"} referenced from llvm.module.linkoptions, e.g., !llvm.module.linkoptions = !{!0, !1, !2, !3} This conceptually moves the logic for figuring out the syntax the linker will accept from LLVM into Clang. Moreover, it makes it easier to support MSVC's #pragma comment(linker, "some option") in the future, should anyone care to do so. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@172441 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.h')
-rw-r--r--lib/CodeGen/CodeGenModule.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/CodeGen/CodeGenModule.h b/lib/CodeGen/CodeGenModule.h
index 0d644a748e..4088caca50 100644
--- a/lib/CodeGen/CodeGenModule.h
+++ b/lib/CodeGen/CodeGenModule.h
@@ -319,9 +319,6 @@ class CodeGenModule : public CodeGenTypeCache {
/// \brief The complete set of modules that has been imported.
llvm::SetVector<clang::Module *> ImportedModules;
- /// \brief The set of libraries to link against.
- std::vector<clang::Module::LinkLibrary> LinkLibraries;
-
/// @name Cache for Objective-C runtime types
/// @{
@@ -998,9 +995,6 @@ private:
/// references to global which may otherwise be optimized out.
void EmitLLVMUsed();
- /// \brief Emit the set of libraries to link against.
- void EmitLinkLibraries();
-
void EmitDeclMetadata();
/// EmitCoverageFile - Emit the llvm.gcov metadata used to tell LLVM where