aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2024-06-20 17:41:35 +0200
committerGitHub <noreply@github.com>2024-06-20 17:41:35 +0200
commit49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b (patch)
tree77eaa717bee149cdd6cabc905c6e485c85d8b1dd /llvm/lib/LTO/LTO.cpp
parent037a9a754a79af2d501786b8b88a5416446d7186 (diff)
downloadllvm-49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b.zip
llvm-49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b.tar.gz
llvm-49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b.tar.bz2
[PassManager] Remove some unnecessary includes (NFC) (#96175)
SmallPtrSet.h and TimeProfiler.h are unused. CommandLine.h is only needed for the UseNewDbgInfoFormat declare, which can be moved to the places that need it.
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
-rw-r--r--llvm/lib/LTO/LTO.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/LTO/LTO.cpp b/llvm/lib/LTO/LTO.cpp
index 5c603ac..2ba7f58 100644
--- a/llvm/lib/LTO/LTO.cpp
+++ b/llvm/lib/LTO/LTO.cpp
@@ -65,6 +65,8 @@ using namespace object;
#define DEBUG_TYPE "lto"
+extern cl::opt<bool> UseNewDbgInfoFormat;
+
static cl::opt<bool>
DumpThinCGSCCs("dump-thin-cg-sccs", cl::init(false), cl::Hidden,
cl::desc("Dump the SCCs in the ThinLTO index's callgraph"));