diff options
author | Nikita Popov <npopov@redhat.com> | 2024-06-20 17:41:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-20 17:41:35 +0200 |
commit | 49ae2dcf369e0fd76e4bb18f1c84e6716ff0ec4b (patch) | |
tree | 77eaa717bee149cdd6cabc905c6e485c85d8b1dd /llvm/tools/llvm-as/llvm-as.cpp | |
parent | 037a9a754a79af2d501786b8b88a5416446d7186 (diff) | |
download | llvm-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/tools/llvm-as/llvm-as.cpp')
-rw-r--r-- | llvm/tools/llvm-as/llvm-as.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-as/llvm-as.cpp b/llvm/tools/llvm-as/llvm-as.cpp index 0958e16..082565a 100644 --- a/llvm/tools/llvm-as/llvm-as.cpp +++ b/llvm/tools/llvm-as/llvm-as.cpp @@ -67,6 +67,7 @@ static cl::opt<std::string> ClDataLayout("data-layout", cl::desc("data layout string to use"), cl::value_desc("layout-string"), cl::init(""), cl::cat(AsCat)); +extern cl::opt<bool> UseNewDbgInfoFormat; extern bool WriteNewDbgInfoFormatToBitcode; static void WriteOutputFile(const Module *M, const ModuleSummaryIndex *Index) { |