5fcd1226674d174c57dab5ab5c38b261a06e2c80 / dev-libs/roct-thunk-interface/files/kfdtest-6.2.4-fix-llvm-header.patch · 412 bytes · raw
Add header for llvm_shutdown.
Backports https://github.com/ROCm/ROCT-Thunk-Interface/commit/8bb5764ee1c4e3a8dc7588b597831389b4481345
--- a/tests/kfdtest/src/Assemble.cpp
+++ b/tests/kfdtest/src/Assemble.cpp
@@ -69,6 +69,9 @@
#else
#include <llvm/Support/TargetRegistry.h>
#endif
+#if LLVM_VERSION_MAJOR > 18
+#include "llvm/Support/ManagedStatic.h"
+#endif
#include <linux/elf.h>
#include "OSWrapper.hpp"