From d791eaa5594053918e517439469e7747bd52d91c Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Wed, 11 Oct 2017 23:18:43 +0000 Subject: [PATCH] lld: Reorder libdeps. Differential Revision: https://reviews.llvm.org/D38828 llvm-svn: 315529 --- lld/COFF/CMakeLists.txt | 6 +++--- lld/ELF/CMakeLists.txt | 2 +- lld/MinGW/CMakeLists.txt | 2 +- lld/lib/Driver/CMakeLists.txt | 2 +- lld/lib/ReaderWriter/MachO/CMakeLists.txt | 2 +- lld/tools/lld/CMakeLists.txt | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lld/COFF/CMakeLists.txt b/lld/COFF/CMakeLists.txt index 4f7659e7a2ce..df57bb6464c5 100644 --- a/lld/COFF/CMakeLists.txt +++ b/lld/COFF/CMakeLists.txt @@ -31,14 +31,14 @@ add_lld_library(lldCOFF DebugInfoCodeView DebugInfoMSF DebugInfoPDB - LTO LibDriver - Object + LTO MC MCDisassembler - Target + Object Option Support + Target WindowsManifest LINK_LIBS diff --git a/lld/ELF/CMakeLists.txt b/lld/ELF/CMakeLists.txt index e53626af3efe..8d60c19da29d 100644 --- a/lld/ELF/CMakeLists.txt +++ b/lld/ELF/CMakeLists.txt @@ -57,10 +57,10 @@ add_lld_library(lldELF IPO Linker LTO + MC Object Option Passes - MC Support Target TransformUtils diff --git a/lld/MinGW/CMakeLists.txt b/lld/MinGW/CMakeLists.txt index 4977eb399e5c..538a1bba47e3 100644 --- a/lld/MinGW/CMakeLists.txt +++ b/lld/MinGW/CMakeLists.txt @@ -10,8 +10,8 @@ add_lld_library(lldMinGW Driver.cpp LINK_COMPONENTS - Support Option + Support LINK_LIBS lldCOFF diff --git a/lld/lib/Driver/CMakeLists.txt b/lld/lib/Driver/CMakeLists.txt index a82fc21004fe..df7032090821 100644 --- a/lld/lib/Driver/CMakeLists.txt +++ b/lld/lib/Driver/CMakeLists.txt @@ -14,8 +14,8 @@ add_lld_library(lldDriver Support LINK_LIBS - lldMachO lldCore + lldMachO lldReaderWriter lldYAML ) diff --git a/lld/lib/ReaderWriter/MachO/CMakeLists.txt b/lld/lib/ReaderWriter/MachO/CMakeLists.txt index 5a96d87f1f7a..f2fc34772496 100644 --- a/lld/lib/ReaderWriter/MachO/CMakeLists.txt +++ b/lld/lib/ReaderWriter/MachO/CMakeLists.txt @@ -21,9 +21,9 @@ add_lld_library(lldMachO LINK_COMPONENTS DebugInfoDWARF + Demangle Object Support - Demangle LINK_LIBS lldCore diff --git a/lld/tools/lld/CMakeLists.txt b/lld/tools/lld/CMakeLists.txt index fc80fbd2a798..f081e75838d5 100644 --- a/lld/tools/lld/CMakeLists.txt +++ b/lld/tools/lld/CMakeLists.txt @@ -7,8 +7,8 @@ add_lld_tool(lld ) target_link_libraries(lld - lldDriver lldCOFF + lldDriver lldELF lldMinGW )