From 981258f0d7d09ec5a7681283f2d7013a6de5037d Mon Sep 17 00:00:00 2001 From: Mehdi Amini Date: Thu, 12 Mar 2020 00:12:03 +0000 Subject: [PATCH] Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming (NFC) --- llvm/examples/Kaleidoscope/Chapter9/toy.cpp | 1 + llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/llvm/examples/Kaleidoscope/Chapter9/toy.cpp b/llvm/examples/Kaleidoscope/Chapter9/toy.cpp index 23b25b1..7b33dae 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 diff --git a/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp b/llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp index 6d17954..7442fbd 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" -- 2.7.4