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

Paulius Velesko via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 1 09:17:37 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:

Currently no caller passes a section name — they all use the default. but we can pass it in up to you 

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


More information about the llvm-commits mailing list