[llvm] [DWARF] Generalize DWARFTypePrinter to a template class (PR #109459)

Zequan Wu via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 4 14:45:59 PDT 2024


================
@@ -9,19 +9,37 @@
 #ifndef LLVM_DEBUGINFO_DWARF_DWARFTYPEPRINTER_H
 #define LLVM_DEBUGINFO_DWARF_DWARFTYPEPRINTER_H
 
+#include "llvm/ADT/SmallString.h"
 #include "llvm/ADT/StringRef.h"
 #include "llvm/BinaryFormat/Dwarf.h"
-#include "llvm/DebugInfo/DWARF/DWARFDie.h"
+#include "llvm/DebugInfo/DWARF/DWARFUnit.h"
----------------
ZequanWu wrote:

Removed dependency on `llvm:: DWARFFormValue`. I didn't noticed it when splitting it from the original PR.

https://github.com/llvm/llvm-project/pull/109459


More information about the llvm-commits mailing list