[llvm-commits] [llvm] r85012 - /llvm/trunk/test/Scripts/macho-dump
Daniel Dunbar
daniel at zuster.org
Sat Oct 24 13:32:36 PDT 2009
Author: ddunbar
Date: Sat Oct 24 15:32:36 2009
New Revision: 85012
URL: http://llvm.org/viewvc/llvm-project?rev=85012&view=rev
Log:
Teach macho-dump to dump UUIDs.
Modified:
llvm/trunk/test/Scripts/macho-dump
Modified: llvm/trunk/test/Scripts/macho-dump
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Scripts/macho-dump?rev=85012&r1=85011&r2=85012&view=diff
==============================================================================
--- llvm/trunk/test/Scripts/macho-dump (original)
+++ llvm/trunk/test/Scripts/macho-dump Sat Oct 24 15:32:36 2009
@@ -104,6 +104,9 @@
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)
More information about the llvm-commits
mailing list