[lld] d93b678 - [lld] Add missing includes (NFC)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 3 09:55:28 PDT 2021
Author: Nikita Popov
Date: 2021-06-03T18:55:18+02:00
New Revision: d93b678abb31eaa831a7358e9b935be2d5cba445
URL: https://github.com/llvm/llvm-project/commit/d93b678abb31eaa831a7358e9b935be2d5cba445
DIFF: https://github.com/llvm/llvm-project/commit/d93b678abb31eaa831a7358e9b935be2d5cba445.diff
LOG: [lld] Add missing includes (NFC)
Fix lld build after 983565a6fe4a9f40c7caf82b65c650c20dbcc104.
Added:
Modified:
lld/ELF/Thunks.h
lld/MachO/OutputSegment.h
lld/include/lld/Common/Timer.h
Removed:
################################################################################
diff --git a/lld/ELF/Thunks.h b/lld/ELF/Thunks.h
index 21e99a0a8e287..5558da1a2c797 100644
--- a/lld/ELF/Thunks.h
+++ b/lld/ELF/Thunks.h
@@ -9,6 +9,7 @@
#ifndef LLD_ELF_THUNKS_H
#define LLD_ELF_THUNKS_H
+#include "llvm/ADT/SmallVector.h"
#include "Relocations.h"
namespace lld {
diff --git a/lld/MachO/OutputSegment.h b/lld/MachO/OutputSegment.h
index e5d87ba0a4e07..10cca2a1caad3 100644
--- a/lld/MachO/OutputSegment.h
+++ b/lld/MachO/OutputSegment.h
@@ -13,6 +13,7 @@
#include "lld/Common/LLVM.h"
#include <limits>
+#include <vector>
namespace lld {
namespace macho {
diff --git a/lld/include/lld/Common/Timer.h b/lld/include/lld/Common/Timer.h
index 95e811a2f9f03..b37388cd38c43 100644
--- a/lld/include/lld/Common/Timer.h
+++ b/lld/include/lld/Common/Timer.h
@@ -16,6 +16,7 @@
#include <chrono>
#include <map>
#include <memory>
+#include <vector>
namespace lld {
More information about the llvm-commits
mailing list