[lld][dtlto] Invert dependency edge from LTO->DTLTO to DTLTO->LTO

The other way is a dependency cycle.
This commit is contained in:
Benjamin Kramer 2025-12-31 14:10:42 +01:00
parent dac2e009a9
commit 24fb00dd2f
7 changed files with 3 additions and 4 deletions

View File

@ -32,6 +32,7 @@ add_lld_library(lldCOFF
DebugInfoMSF
DebugInfoPDB
Demangle
DTLTO
LibDriver
LTO
MC

View File

@ -68,6 +68,7 @@ add_lld_library(lldELF
Core
DebugInfoDWARF
Demangle
DTLTO
LTO
MC
Object

View File

@ -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"

View File

@ -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"

View File

@ -3,5 +3,6 @@ add_llvm_component_library(LLVMDTLTO
LINK_COMPONENTS
Core
LTO
Support
)

View File

@ -25,7 +25,6 @@ add_llvm_component_library(LLVMLTO
CodeGen
CodeGenTypes
Core
DTLTO
Extensions
IPO
InstCombine

View File

@ -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"