Hi Gentleman,
I managed to get myself in more trouble. This time with asan_symbolize.py.
$ make | asan_symbolize.py
File "/usr/local/bin/asan_symbolize.py", line 69
print ' '.join(cmd)
^
SyntaxError: invalid syntax
Here's the relevant snippet:
def open_llvm_symbolizer(self):
if not os.path.exists(self.symbolizer_path):
return None
cmd = [self.symbolizer_path,
'--use-symbol-table=true',
'--demangle=%s' % demangle,
'--functions=true',
'--inlining=true']
if DEBUG:
print ' '.join(cmd)
return subprocess.Popen(cmd, stdin=subprocess.PIPE,
stdout=subprocess.PIPE)
The odd thing is DEBUG=false (and I'm not changing it).
If I comment out the:
if DEBUG:
print ' '.join(cmd)
Then the issue moves down the line to line 81:
$ make | asan_symbolize.py
File "/usr/local/bin/asan_symbolize.py", line 81
print symbolizer_input
^
Which is:
if DEBUG:
print symbolizer_input
Changing the declaration of DEBUG to DEBUG=0 does not help; and deleting
the declaration of DEBUG does not help.
Any ideas on how to proceed?
--
You received this message because you are subscribed to the Google Groups
"address-sanitizer" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.