[lld] fb6b103 - [lld] Replace Symbolize.h with DIContext.h in lld's COFF lib
Noah Shutty via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 13 14:17:12 PST 2021
Author: Noah Shutty
Date: 2021-12-13T22:16:41Z
New Revision: fb6b103daa9077ef0de5c05b2955ecc89ba78c15
URL: https://github.com/llvm/llvm-project/commit/fb6b103daa9077ef0de5c05b2955ecc89ba78c15
DIFF: https://github.com/llvm/llvm-project/commit/fb6b103daa9077ef0de5c05b2955ecc89ba78c15.diff
LOG: [lld] Replace Symbolize.h with DIContext.h in lld's COFF lib
lld only needs DIContext.h which it gets through Symbolize.h -> SymbolizableModule.h -> DIContext.h. This replaces it with a direct include of DIContext.h to avoid any confusion and pulling in unnecessary headers.
Reviewed By: phosek
Differential Revision: https://reviews.llvm.org/D115659
Added:
Modified:
lld/COFF/SymbolTable.cpp
Removed:
################################################################################
diff --git a/lld/COFF/SymbolTable.cpp b/lld/COFF/SymbolTable.cpp
index 89bfc59602865..679c91ad06e6b 100644
--- a/lld/COFF/SymbolTable.cpp
+++ b/lld/COFF/SymbolTable.cpp
@@ -16,7 +16,7 @@
#include "lld/Common/ErrorHandler.h"
#include "lld/Common/Memory.h"
#include "lld/Common/Timer.h"
-#include "llvm/DebugInfo/Symbolize/Symbolize.h"
+#include "llvm/DebugInfo/DIContext.h"
#include "llvm/IR/LLVMContext.h"
#include "llvm/LTO/LTO.h"
#include "llvm/Object/WindowsMachineFlag.h"
More information about the llvm-commits
mailing list