[llvm] [llvm-objdump] Add preliminary support for decoding binary files (PR #115667)

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 12 03:01:32 PST 2024


================
@@ -3577,6 +3584,10 @@ static void parseObjdumpOptions(const llvm::opt::InputArgList &InputArgs) {
 
   parseMachOOptions(InputArgs);
 
+  if (InputArgs.getLastArg(OBJDUMP_binary)) {
+    BinaryFile = true;
+  }
----------------
jh7370 wrote:

Nit: no need for braces.

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


More information about the llvm-commits mailing list