From 49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Thu, 20 Jun 2024 17:41:35 +0200 Subject: [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. --- llvm/lib/LTO/LTO.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'llvm/lib/LTO/LTO.cpp') 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 UseNewDbgInfoFormat; + static cl::opt DumpThinCGSCCs("dump-thin-cg-sccs", cl::init(false), cl::Hidden, cl::desc("Dump the SCCs in the ThinLTO index's callgraph")); -- cgit v1.1