llvm: add support for LLVM 17

This commit is contained in:
oltolm 2023-09-25 17:04:48 +02:00 committed by Megamouse
parent 7bb94227be
commit 50df01d00e
5 changed files with 30 additions and 5 deletions

View file

@ -41,7 +41,7 @@
#pragma GCC diagnostic ignored "-Wmissing-noreturn"
#endif
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/Host.h"
#include "llvm/TargetParser/Host.h"
#include "llvm/Object/ObjectFile.h"
#if LLVM_VERSION_MAJOR < 17
#include "llvm/ADT/Triple.h"