[Openmp-commits] [openmp] [libomptarget] Support BE ELF files in plugins-nextgen (PR #83976)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Wed Mar 6 11:35:45 PST 2024
================
@@ -283,3 +295,44 @@ Expected<const void *> utils::elf::getSymbolAddress(
return ELFFile.base() + Offset;
}
+
+template <class ELFT>
+static Expected<std::optional<StringRef>>
+findSymbolInImageImpl(const object::ELFObjectFile<ELFT> &ELFObj,
+ StringRef Name) {
+ // Search for the symbol by name.
----------------
jhuber6 wrote:
Thanks, looks good.
https://github.com/llvm/llvm-project/pull/83976
More information about the Openmp-commits
mailing list