[Openmp-commits] [openmp] [libomptarget] Support BE ELF files in plugins-nextgen (PR #83976)
Ulrich Weigand via Openmp-commits
openmp-commits at lists.llvm.org
Wed Mar 6 11:35:07 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.
----------------
uweigand wrote:
Left in a single comment describing the return value, removed all the others.
https://github.com/llvm/llvm-project/pull/83976
More information about the Openmp-commits
mailing list