1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 11:13:28 +01:00

Fix a bug in llvm-objdump’s -private-headers for the LC_VERSION_MIN_IPHONEOS

load command not getting printed.

llvm-svn: 224376
This commit is contained in:
Kevin Enderby 2014-12-16 21:48:27 +00:00
parent 5cbdca29ae
commit 601ffaa6fb
2 changed files with 6 additions and 1 deletions

View File

@ -303,6 +303,10 @@ EXE: cmd LC_UUID
EXE: cmdsize 24
EXE: uuid C2D9351C-1EF1-330B-A2AB-EED6CF7D2C5D
EXE: Load command 9
EXE: cmd LC_VERSION_MIN_IPHONEOS
EXE: cmdsize 16
EXE: version 8.0
EXE: sdk 8.0
EXE: Load command 10
EXE: cmd LC_SOURCE_VERSION
EXE: cmdsize 16

View File

@ -3738,7 +3738,8 @@ static void PrintLoadCommands(const MachOObjectFile *Obj, uint32_t ncmds,
} else if (Command.C.cmd == MachO::LC_RPATH) {
MachO::rpath_command Rpath = Obj->getRpathCommand(Command);
PrintRpathLoadCommand(Rpath, Command.Ptr);
} else if (Command.C.cmd == MachO::LC_VERSION_MIN_MACOSX) {
} else if (Command.C.cmd == MachO::LC_VERSION_MIN_MACOSX ||
Command.C.cmd == MachO::LC_VERSION_MIN_IPHONEOS) {
MachO::version_min_command Vd = Obj->getVersionMinLoadCommand(Command);
PrintVersionMinLoadCommand(Vd);
} else if (Command.C.cmd == MachO::LC_SOURCE_VERSION) {