================
@@ -310,8 +310,8 @@ Error relocateOffloadSection(const ArgList &Args, StringRef 
Output) {
   // Remove the old .llvm.offloading section to prevent further linking.
   ObjcopyArgs.emplace_back("--remove-section");
   ObjcopyArgs.emplace_back(".llvm.offloading");
-  for (StringRef Prefix : {"omp", "cuda", "hip"}) {
-    auto Section = (Prefix + "_offloading_entries").str();
+  for (StringRef Prefix : {"omp", "cuda", "hip", "llvm"}) {
----------------
yxsamliu wrote:

will remove unused code

https://github.com/llvm/llvm-project/pull/143964
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to