OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc4a745
)
Teach macho-dump to dump UUIDs.
author
Daniel Dunbar
<daniel@zuster.org>
Sat, 24 Oct 2009 20:32:36 +0000
(20:32 +0000)
committer
Daniel Dunbar
<daniel@zuster.org>
Sat, 24 Oct 2009 20:32:36 +0000
(20:32 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85012
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Scripts/macho-dump
patch
|
blob
|
history
diff --git
a/test/Scripts/macho-dump
b/test/Scripts/macho-dump
index
12ec26d
..
5b9943a
100755
(executable)
--- a/
test/Scripts/macho-dump
+++ b/
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)