diff options
| author | Chris Bieneman <beanz@apple.com> | 2016-05-20 18:36:52 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2016-05-20 18:36:52 +0000 |
| commit | 64c9e1227ec59b2bb147ec53769042bd7d7e5cea (patch) | |
| tree | 8c5f449e3258eb23351ad7f2480fe1260e5b2cce /llvm/lib/ObjectYAML/MachOYAML.cpp | |
| parent | 4f147a54a1b9c809764bdcd3f3c907a9ca503b20 (diff) | |
| download | bcm5719-llvm-64c9e1227ec59b2bb147ec53769042bd7d7e5cea.tar.gz bcm5719-llvm-64c9e1227ec59b2bb147ec53769042bd7d7e5cea.zip | |
[MachOYAML] Removing duplicated field from LC_UUID YAML
The uuid_command was duplicating the load_command.cmdsize field. This removes the duplicate from the YAML mapping and from the test cases.
llvm-svn: 270248
Diffstat (limited to 'llvm/lib/ObjectYAML/MachOYAML.cpp')
| -rw-r--r-- | llvm/lib/ObjectYAML/MachOYAML.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/ObjectYAML/MachOYAML.cpp b/llvm/lib/ObjectYAML/MachOYAML.cpp index 4111adefa76..2b4cfa0ce47 100644 --- a/llvm/lib/ObjectYAML/MachOYAML.cpp +++ b/llvm/lib/ObjectYAML/MachOYAML.cpp @@ -439,7 +439,6 @@ void MappingTraits<MachO::twolevel_hints_command>::mapping( void MappingTraits<MachO::uuid_command>::mapping( IO &IO, MachO::uuid_command &LoadCommand) { - IO.mapRequired("cmdsize", LoadCommand.cmdsize); IO.mapRequired("uuid", LoadCommand.uuid); } |

