diff options
author | Nikita Popov <npopov@redhat.com> | 2024-06-28 14:30:47 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-28 14:30:47 +0200 |
commit | 4169338e75cdce73d34063532db598c95ee82ae4 (patch) | |
tree | 88a4fc003e74bec92463bce4049167aa5ae0e425 /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | 17c567b095ab749b59d311ec9d8cd2bae584ac0b (diff) | |
download | llvm-4169338e75cdce73d34063532db598c95ee82ae4.zip llvm-4169338e75cdce73d34063532db598c95ee82ae4.tar.gz llvm-4169338e75cdce73d34063532db598c95ee82ae4.tar.bz2 |
[IR] Don't include Module.h in Analysis.h (NFC) (#97023)
Replace it with a forward declaration instead. Analysis.h is pulled in
by all passes, but not all passes need to access the module.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp b/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp index 24cd1b1..25d4bbd 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp @@ -18,6 +18,7 @@ #include "llvm/CodeGen/MachineModuleInfo.h" #include "llvm/CodeGen/TargetSubtargetInfo.h" #include "llvm/IR/DebugInfo.h" +#include "llvm/IR/Module.h" #include "llvm/MC/MCStreamer.h" #include "llvm/Support/CommandLine.h" |