Skip to content

Commit 8a93f15

Browse files
committed
Instrument the darwin extraction process in more detail.
1 parent eb6e0f0 commit 8a93f15

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

wllvm/extraction.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def extract_section_darwin(inputFile):
128128
sys.exit(-1)
129129

130130
lines = otoolOutput.splitlines()
131-
131+
_logger.debug('otool extracted:\n%s\n', lines)
132132
try:
133133
octets = []
134134
for line in lines[1:]:
@@ -138,6 +138,7 @@ def extract_section_darwin(inputFile):
138138
continue
139139
octetline = m.group(1)
140140
octets.extend(octetline.split())
141+
_logger.debug('We parsed this as:\n%s', octets)
141142
retval = decode_hex(''.join(octets))[0].splitlines()
142143
# these have become bytes in the "evolution" of python
143144
retval = [ f.decode('utf8') for f in retval]

0 commit comments

Comments
 (0)