[llvm] Add --dump-offload-bundle option to llvm-objcopy (PR #143347)
James Henderson via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 23 23:54:44 PDT 2025
================
@@ -52,9 +52,9 @@ Expected<DriverConfig>
parseStripOptions(ArrayRef<const char *> ArgsArr,
llvm::function_ref<Error(Error)> ErrorCallback);
-// parseDumpURI reads a URI as a string, and extracts the raw memory into a
-// code object file named from the URI string given
-static void parseDumpOffloadBundle(StringRef URI);
+// parseDumpOffloadBundle reads a URI as a string and extracts the raw memory into a
+// code object file named from the URI string given.
+static Expected<StringRef> parseDumpOffloadBundle(StringRef URI);
----------------
jh7370 wrote:
Why `static`?
https://github.com/llvm/llvm-project/pull/143347
More information about the llvm-commits
mailing list