[llvm] [DWARF] Generalize DWARFTypePrinter to a template class (PR #109459)
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 24 01:26:03 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"
----------------
labath wrote:
This this actually need/depend on llvm::DWARFUnit (in a non-generic way)? Because, if it does, then it probably won't work with lldb. (and if it does not, then it shouldn't need to include it)
https://github.com/llvm/llvm-project/pull/109459
More information about the llvm-commits
mailing list