blob: 30515c2d12f81e7f4768abb32e3c497950f8aa5f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
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"
|