[PATCH] D113356: [llvm-objdump] -p: Dump PE header for PE/COFF

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 8 10:12:25 PST 2021


MaskRay added inline comments.


================
Comment at: llvm/test/tools/llvm-objdump/COFF/private-headers.yaml:69
+  MajorOperatingSystemVersion: 6
+  MinorOperatingSystemVersion: 0
+  MajorImageVersion:   0
----------------
jhenderson wrote:
> Here and the other zero-valued fields, it might be advisable to use a non-zero value, to avoid any instances of variables not actually being assigned values properly (e.g. they were assigned to the wrong value/the wrong variable was assigned this variable's value etc).
I copied the fields from an existing test. Updated.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113356/new/

https://reviews.llvm.org/D113356



More information about the llvm-commits mailing list