[llvm] 5ee9c2c - [DebugInfo] Fix missing includes in two headers (#112766)
via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 00:27:10 PDT 2024
Author: Thomas Fransham
Date: 2024-10-22T10:27:06+03:00
New Revision: 5ee9c2c0d9e585ac9298c32e1f3783628be3ce0a
URL: https://github.com/llvm/llvm-project/commit/5ee9c2c0d9e585ac9298c32e1f3783628be3ce0a
DIFF: https://github.com/llvm/llvm-project/commit/5ee9c2c0d9e585ac9298c32e1f3783628be3ce0a.diff
LOG: [DebugInfo] Fix missing includes in two headers (#112766)
Add include needed for DWARFContext to DwarfTransformer.h
Add include needed for windows types like HRESULT to DIAUtils.h
Added:
Modified:
llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h
llvm/include/llvm/DebugInfo/PDB/DIA/DIAUtils.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h b/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h
index 3abf3bacabdd85..198c0ddc265826 100644
--- a/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h
+++ b/llvm/include/llvm/DebugInfo/GSYM/DwarfTransformer.h
@@ -10,6 +10,7 @@
#define LLVM_DEBUGINFO_GSYM_DWARFTRANSFORMER_H
#include "llvm/ADT/StringRef.h"
+#include "llvm/DebugInfo/DWARF/DWARFContext.h"
#include "llvm/DebugInfo/GSYM/ExtractRanges.h"
#include "llvm/Support/Error.h"
diff --git a/llvm/include/llvm/DebugInfo/PDB/DIA/DIAUtils.h b/llvm/include/llvm/DebugInfo/PDB/DIA/DIAUtils.h
index 5e01d8f10a6e70..015f26130ccf69 100644
--- a/llvm/include/llvm/DebugInfo/PDB/DIA/DIAUtils.h
+++ b/llvm/include/llvm/DebugInfo/PDB/DIA/DIAUtils.h
@@ -10,6 +10,7 @@
#define LLVM_DEBUGINFO_PDB_DIA_DIAUTILS_H
#include "llvm/ADT/ArrayRef.h"
+#include "llvm/DebugInfo/PDB/DIA/DIASupport.h"
#include "llvm/Support/ConvertUTF.h"
template <typename Obj>
More information about the llvm-commits
mailing list