diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-10-24 20:32:36 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-10-24 20:32:36 +0000 |
commit | c9c49bde3b752f08e3ca4783c3e27484495e7148 (patch) | |
tree | 9a27939df381c9613ca8e806b9c86fae714d5804 /llvm/test/Scripts | |
parent | 2cbca4e229c39a867c743a47408cb91e027c61cb (diff) | |
download | bcm5719-llvm-c9c49bde3b752f08e3ca4783c3e27484495e7148.tar.gz bcm5719-llvm-c9c49bde3b752f08e3ca4783c3e27484495e7148.zip |
Teach macho-dump to dump UUIDs.
llvm-svn: 85012
Diffstat (limited to 'llvm/test/Scripts')
-rwxr-xr-x | llvm/test/Scripts/macho-dump | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Scripts/macho-dump b/llvm/test/Scripts/macho-dump index 12ec26d4589..5b9943ada2c 100755 --- a/llvm/test/Scripts/macho-dump +++ b/llvm/test/Scripts/macho-dump @@ -104,6 +104,9 @@ def dumpLoadCommand(f, i, opts): dumpSymtabCommand(f, opts) elif cmd == 11: dumpDysymtabCommand(f, opts) + elif cmd == 27: + import uuid + print " ('uuid', %s)" % uuid.UUID(bytes=f.read(16)) else: print >>sys.stderr,"%s: warning: unknown load command: %r" % (sys.argv[0], cmd) f.read(cmdSize - 8) |