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/Bitcode/Reader/BitcodeReader.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp') diff --git a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp index af5d689..06d9936 100644 --- a/llvm/lib/Bitcode/Reader/BitcodeReader.cpp +++ b/llvm/lib/Bitcode/Reader/BitcodeReader.cpp @@ -109,6 +109,7 @@ cl::opt LoadBitcodeIntoNewDbgInfoFormat( "load-bitcode-into-experimental-debuginfo-iterators", cl::Hidden, cl::desc("Load bitcode directly into the new debug info format (regardless " "of input format)")); +extern cl::opt UseNewDbgInfoFormat; extern cl::opt PreserveInputDbgFormat; extern bool WriteNewDbgInfoFormatToBitcode; extern cl::opt WriteNewDbgInfoFormat; -- cgit v1.1