================
@@ -186,57 +186,60 @@ GlobalVariable *createBinDesc(Module &M,
ArrayRef<ArrayRef<char>> Bufs,
".omp_offloading.descriptor" + Suffix);
}
-void createRegisterFunction(Module &M, GlobalVariable *BinDesc,
- StringRef Suffix) {
+Function *createUnregisterFunction(Module &M, GlobalVariable *BinDesc,
----------------
yxsamliu wrote:
It seems the order of createRegisterFunction and createUnregisterFunction is
swapped. This causes some artificial differences. Is it OK to keep their
original order.
https://github.com/llvm/llvm-project/pull/86830
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits