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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 1 08:38:28 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:

Shouldn't we just update the caller?

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


More information about the cfe-commits mailing list