[llvm] 981258f - Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming (NFC)
Mehdi Amini via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 11 17:12:44 PDT 2020
Author: Mehdi Amini
Date: 2020-03-12T00:12:03Z
New Revision: 981258f0d7d09ec5a7681283f2d7013a6de5037d
URL: https://github.com/llvm/llvm-project/commit/981258f0d7d09ec5a7681283f2d7013a6de5037d
DIFF: https://github.com/llvm/llvm-project/commit/981258f0d7d09ec5a7681283f2d7013a6de5037d.diff
LOG: Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming (NFC)
Added:
Modified:
llvm/examples/Kaleidoscope/Chapter9/toy.cpp
llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
Removed:
################################################################################
diff --git a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
index 23b25b15c9b8..7b33dae6e13a 100644
--- a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
+++ b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp
@@ -7,6 +7,7 @@
#include "llvm/IR/LegacyPassManager.h"
#include "llvm/IR/Module.h"
#include "llvm/IR/Verifier.h"
+#include "llvm/Support/Host.h"
#include "llvm/Support/TargetSelect.h"
#include "llvm/Transforms/Scalar.h"
#include <cctype>
diff --git a/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp b/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
index 6d1795495d6b..7442fbd3c0a5 100644
--- a/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
+++ b/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp
@@ -9,6 +9,7 @@
#include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h"
#include "llvm/ExecutionEngine/SectionMemoryManager.h"
#include "llvm/Support/Debug.h"
+#include "llvm/Support/Host.h"
#include "ThinLtoDiscoveryThread.h"
#include "ThinLtoInstrumentationLayer.h"
More information about the llvm-commits
mailing list