From: Mehdi Amini Date: Thu, 12 Mar 2020 00:12:03 +0000 (+0000) Subject: Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming... X-Git-Tag: llvmorg-12-init~12359 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=981258f0d7d09ec5a7681283f2d7013a6de5037d;p=platform%2Fupstream%2Fllvm.git Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming (NFC) --- 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"