[Openmp-commits] [openmp] [Libomptarget] Only initialize a plugin if a device image needs it (PR #76174)

Joseph Huber via Openmp-commits openmp-commits at lists.llvm.org
Thu Dec 21 13:20:44 PST 2023

@@ -48,9 +48,12 @@
 namespace llvm {
 namespace omp {
 namespace target {
 namespace plugin {
+/// The plugin's native ELF architecture. This should be defined individually
+/// by each plugin, and ELF:EM_NONE if the ELF target is not applicable.
+extern const uint16_t ELFMachine;
jhuber6 wrote:

Okay, it should just give an undefined symbol error.


More information about the Openmp-commits mailing list