From c9c49bde3b752f08e3ca4783c3e27484495e7148 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Sat, 24 Oct 2009 20:32:36 +0000 Subject: [PATCH] Teach macho-dump to dump UUIDs. llvm-svn: 85012 --- llvm/test/Scripts/macho-dump | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llvm/test/Scripts/macho-dump b/llvm/test/Scripts/macho-dump index 12ec26d45896..5b9943ada2ca 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)