[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:45 PDT 2025


================
@@ -277,6 +277,8 @@ struct CommonConfig {
   bool StripUnneeded = false;
   bool Weaken = false;
   bool DecompressDebugSections = false;
+  bool DumpOffloadBundle = false;
----------------
jh7370 wrote:

Thanks for the explanation. In that case, you should add the option to the checks in the get*Config methods in ConfigManager.cpp https://github.com/llvm/llvm-project/blob/31db0f0a7ae43981fdfadc693662c239f921a05b/llvm/lib/ObjCopy/ConfigManager.cpp#L16, to show it's not yet supported for the formats that it might appear in in the future.

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


More information about the llvm-commits mailing list