projects
/
platform
/
upstream
/
tvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
989b481
)
[LLVM] Include Support/Host.h for declaration of getDefaultTargetTriple (#5268)
author
Krzysztof Parzyszek
<kparzysz@quicinc.com>
Wed, 8 Apr 2020 03:53:25 +0000
(22:53 -0500)
committer
GitHub
<noreply@github.com>
Wed, 8 Apr 2020 03:53:25 +0000
(20:53 -0700)
In newer versions of LLVM, this header is no longer included by one of
the already included headers in llvm_common.h, so include it explicitly.
src/target/llvm/llvm_common.h
patch
|
blob
|
history
diff --git
a/src/target/llvm/llvm_common.h
b/src/target/llvm/llvm_common.h
index
654fdb4
..
85ee1ee
100644
(file)
--- a/
src/target/llvm/llvm_common.h
+++ b/
src/target/llvm/llvm_common.h
@@
-63,6
+63,7
@@
#include <llvm/Support/Alignment.h>
#endif
#include <llvm/Support/FileSystem.h>
+#include <llvm/Support/Host.h>
#include <llvm/Support/MemoryBuffer.h>
#include <llvm/Support/raw_ostream.h>
#include <llvm/Support/Casting.h>