[llvm] Add --dump-offload-bundle option to llvm-objcopy (PR #143347)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 11:15:41 PDT 2025


================
@@ -284,6 +286,11 @@ static Expected<uint8_t> parseVisibilityType(StringRef VisType) {
   return type;
 }
 
+static void llvm::objcopy::parseDumpOffloadBundle(StringRef URI) {
+  if (Error Err = object::extractOffloadBundleByURI(URI))
+    outs() << "Failed to extract from URI.";
----------------
jhuber6 wrote:

`outs()` or `err()`?

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


More information about the llvm-commits mailing list