llvm.org GIT mirror llvm / 28b72d6
[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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@270248 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Bieneman 3 years ago
3 changed file(s) with 0 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
438438 void MappingTraits::mapping(
439439 IO &IO, MachO::uuid_command &LoadCommand) {
440440
441 IO.mapRequired("cmdsize", LoadCommand.cmdsize);
442441 IO.mapRequired("uuid", LoadCommand.uuid);
443442 }
444443
9797 name: 12
9898 - cmd: LC_UUID
9999 cmdsize: 24
100 cmdsize: 24
101100 uuid: 461A1B28-822F-3F38-B670-645419E636F5
102101 - cmd: LC_VERSION_MIN_MACOSX
103102 cmdsize: 16
224223 #CHECK: name: 12
225224 #CHECK: - cmd: LC_UUID
226225 #CHECK: cmdsize: 24
227 #CHECK: cmdsize: 24
228226 #CHECK: uuid: 461A1B28-822F-3F38-B670-645419E636F5
229227 #CHECK: - cmd: LC_VERSION_MIN_MACOSX
230228 #CHECK: cmdsize: 16
207207 name: 12
208208 - cmd: LC_UUID
209209 cmdsize: 24
210 cmdsize: 24
211210 uuid: 461A1B28-822F-3F38-B670-645419E636F5
212211 - cmd: LC_VERSION_MIN_MACOSX
213212 cmdsize: 16