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

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 9 15:27:31 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.";
----------------
arsenm wrote:

Error messages should start with lowercase and not end in a period https://llvm.org/docs/CodingStandards.html#error-and-warning-messages

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


More information about the llvm-commits mailing list