Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming...
authorMehdi Amini <joker-eph@gmail.com>
Thu, 12 Mar 2020 00:12:03 +0000 (00:12 +0000)
committerMehdi Amini <joker-eph@gmail.com>
Thu, 12 Mar 2020 00:12:03 +0000 (00:12 +0000)
llvm/examples/Kaleidoscope/Chapter9/toy.cpp
llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp

index 23b25b1..7b33dae 100644 (file)
@@ -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>
index 6d17954..7442fbd 100644 (file)
@@ -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"