From 5d75ea72d6eee3df0c6acdb282145dc4cc3a9a1b Mon Sep 17 00:00:00 2001 From: Douglas Gregor Date: Mon, 14 Jan 2013 18:28:43 +0000 Subject: 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 --- lib/CodeGen/CodeGenModule.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'lib/CodeGen/CodeGenModule.h') 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 ImportedModules; - /// \brief The set of libraries to link against. - std::vector 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 -- cgit v1.2.3