Skip to content

Commit 4d12fd8

Browse files
Mehdi Aminimemfrob
authored andcommitted
Add missing "llvm/Support/Host.h" header to LLVM example after recent header trimming (NFC)
1 parent 9bd62a6 commit 4d12fd8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

llvm/examples/Kaleidoscope/Chapter9/toy.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
#include "llvm/IR/LegacyPassManager.h"
88
#include "llvm/IR/Module.h"
99
#include "llvm/IR/Verifier.h"
10+
#include "llvm/Support/Host.h"
1011
#include "llvm/Support/TargetSelect.h"
1112
#include "llvm/Transforms/Scalar.h"
1213
#include <cctype>

llvm/examples/ThinLtoJIT/ThinLtoJIT.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include "llvm/ExecutionEngine/Orc/RTDyldObjectLinkingLayer.h"
1010
#include "llvm/ExecutionEngine/SectionMemoryManager.h"
1111
#include "llvm/Support/Debug.h"
12+
#include "llvm/Support/Host.h"
1213

1314
#include "ThinLtoDiscoveryThread.h"
1415
#include "ThinLtoInstrumentationLayer.h"

0 commit comments

Comments
 (0)