obj2yaml: Correctly round-trip default alignment.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 4 May 2018 16:28:41 +0000 (16:28 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 4 May 2018 16:28:41 +0000 (16:28 +0000)
commit9096413f9f1294f954e5162e985185698a5ce724
tree76105e582bcc05dec8446c38dc6368096a3843a3
parent8668503c8f60f0238d9bc699eeead01a1d78e61d
obj2yaml: Correctly round-trip default alignment.

Previously we were emitting the "cooked" alignment, which made it hard
to distinguish between that and the default alignment.

Differential Revision: https://reviews.llvm.org/D46418

llvm-svn: 331537
llvm/test/ObjectYAML/COFF/default-alignment.yaml [new file with mode: 0644]
llvm/tools/obj2yaml/coff2yaml.cpp