diff --git a/llvm/include/llvm/CodeGen/AsmPrinter.h b/llvm/include/llvm/CodeGen/AsmPrinter.h index 6ad54fcd6d0e5..61c02ebac11e2 100644 --- a/llvm/include/llvm/CodeGen/AsmPrinter.h +++ b/llvm/include/llvm/CodeGen/AsmPrinter.h @@ -951,4 +951,5 @@ class LLVM_ABI AsmPrinter : public MachineFunctionPass { } // end namespace llvm +#include "AsmPrinterHandler.h" /* expose destructor definitions */ #endif // LLVM_CODEGEN_ASMPRINTER_H diff --git a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp index ccdd0cac98fb9..847f515542ea5 100644 --- a/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp @@ -12,8 +12,10 @@ #include "llvm/CodeGen/AsmPrinter.h" #include "CodeViewDebug.h" +#include "DwarfCompileUnit.h" #include "DwarfDebug.h" #include "DwarfException.h" +#include "DwarfUnit.h" #include "PseudoProbePrinter.h" #include "WasmException.h" #include "WinCFGuard.h" diff --git a/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp b/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp index 700e24a08b5d5..0ef86bbe1dafd 100644 --- a/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp +++ b/llvm/lib/CodeGen/AsmPrinter/DebugLocStream.cpp @@ -7,7 +7,9 @@ //===----------------------------------------------------------------------===// #include "DebugLocStream.h" +#include "DwarfCompileUnit.h" #include "DwarfDebug.h" +#include "DwarfUnit.h" #include "llvm/CodeGen/AsmPrinter.h" using namespace llvm;