[clang] [llvm] [HIP][MacOS] Mach-O support and Darwin toolchain fixes (PR #183991)
Paulius Velesko via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 2 00:54:21 PDT 2026
================
@@ -114,20 +122,40 @@ std::pair<GlobalVariable *, GlobalVariable *>
offloading::getOffloadEntryArray(Module &M, StringRef SectionName) {
const llvm::Triple &Triple = M.getTargetTriple();
+ if (SectionName.empty())
----------------
pvelesko wrote:
Done in latest revision — removed the `SectionName` parameter from both `emitOffloadingEntry()` and `getOffloadEntryArray()`. `getOffloadEntrySection()` is now the sole source of truth, called internally.
https://github.com/llvm/llvm-project/pull/183991
More information about the cfe-commits
mailing list