[lld][dtlto] Invert dependency edge from LTO->DTLTO to DTLTO->LTO
The other way is a dependency cycle.
This commit is contained in:
parent
dac2e009a9
commit
24fb00dd2f
@ -32,6 +32,7 @@ add_lld_library(lldCOFF
|
||||
DebugInfoMSF
|
||||
DebugInfoPDB
|
||||
Demangle
|
||||
DTLTO
|
||||
LibDriver
|
||||
LTO
|
||||
MC
|
||||
|
||||
@ -68,6 +68,7 @@ add_lld_library(lldELF
|
||||
Core
|
||||
DebugInfoDWARF
|
||||
Demangle
|
||||
DTLTO
|
||||
LTO
|
||||
MC
|
||||
Object
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
#include "lld/Common/Strings.h"
|
||||
#include "lld/Common/TargetOptionsCommandFlags.h"
|
||||
#include "llvm/Bitcode/BitcodeWriter.h"
|
||||
#include "llvm/DTLTO/DTLTO.h"
|
||||
#include "llvm/LTO/Config.h"
|
||||
#include "llvm/LTO/LTO.h"
|
||||
#include "llvm/Support/Caching.h"
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
#include "llvm/ADT/StringRef.h"
|
||||
#include "llvm/ADT/Twine.h"
|
||||
#include "llvm/Bitcode/BitcodeWriter.h"
|
||||
#include "llvm/DTLTO/DTLTO.h"
|
||||
#include "llvm/IR/DiagnosticPrinter.h"
|
||||
#include "llvm/LTO/Config.h"
|
||||
#include "llvm/LTO/LTO.h"
|
||||
|
||||
@ -3,5 +3,6 @@ add_llvm_component_library(LLVMDTLTO
|
||||
|
||||
LINK_COMPONENTS
|
||||
Core
|
||||
LTO
|
||||
Support
|
||||
)
|
||||
|
||||
@ -25,7 +25,6 @@ add_llvm_component_library(LLVMLTO
|
||||
CodeGen
|
||||
CodeGenTypes
|
||||
Core
|
||||
DTLTO
|
||||
Extensions
|
||||
IPO
|
||||
InstCombine
|
||||
|
||||
@ -25,7 +25,6 @@
|
||||
#include "llvm/CGData/CodeGenData.h"
|
||||
#include "llvm/CodeGen/Analysis.h"
|
||||
#include "llvm/Config/llvm-config.h"
|
||||
#include "llvm/DTLTO/DTLTO.h"
|
||||
#include "llvm/IR/AutoUpgrade.h"
|
||||
#include "llvm/IR/DiagnosticPrinter.h"
|
||||
#include "llvm/IR/Intrinsics.h"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user