We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 04c77a5 + 46a8015 commit 9ed12f8Copy full SHA for 9ed12f8
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -37,7 +37,9 @@
37
#include "llvm/Transforms/Utils/FunctionImportUtils.h"
38
#include "llvm/LTO/LTO.h"
39
#include "llvm/Bitcode/BitcodeWriter.h"
40
-
+#if LLVM_VERSION_GE(18, 0)
41
+#include "llvm/TargetParser/Host.h"
42
+#endif
43
#include "llvm/Transforms/Instrumentation.h"
44
#include "llvm/Transforms/Instrumentation/AddressSanitizer.h"
45
#include "llvm/Support/TimeProfiler.h"
0 commit comments