summaryrefslogtreecommitdiffstats
path: root/llvm/lib/ObjectYAML/MachOYAML.cpp
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-05-20 18:36:52 +0000
committerChris Bieneman <beanz@apple.com>2016-05-20 18:36:52 +0000
commit64c9e1227ec59b2bb147ec53769042bd7d7e5cea (patch)
tree8c5f449e3258eb23351ad7f2480fe1260e5b2cce /llvm/lib/ObjectYAML/MachOYAML.cpp
parent4f147a54a1b9c809764bdcd3f3c907a9ca503b20 (diff)
downloadbcm5719-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.cpp1
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);
}
OpenPOWER on IntegriCloud