aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode
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/Bitcode
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/Bitcode')
-rw-r--r--llvm/lib/Bitcode/Reader/BitcodeReader.cpp1
1 files changed, 1 insertions, 0 deletions
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<cl::boolOrDefault> 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<bool> UseNewDbgInfoFormat;
extern cl::opt<cl::boolOrDefault> PreserveInputDbgFormat;
extern bool WriteNewDbgInfoFormatToBitcode;
extern cl::opt<bool> WriteNewDbgInfoFormat;