[clang] [llvm] [HIP][MacOS] Mach-O support and Darwin toolchain fixes (PR #183991)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 09:19:25 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())
----------------
jhuber6 wrote:

We should either pass it at the callsite or just make this function the source of truth and remove the argument

https://github.com/llvm/llvm-project/pull/183991


More information about the llvm-commits mailing list