Skip to content

Commit

Permalink
[LLVM] Include Support/Host.h for declaration of getDefaultTargetTrip…
Browse files Browse the repository at this point in the history
…le (apache#5268)

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.
  • Loading branch information
Krzysztof Parzyszek authored and Trevor Morris committed Apr 16, 2020
1 parent 16f6970 commit c4bc992
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/target/llvm/llvm_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit c4bc992

Please sign in to comment.