mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-09 08:48:07 +00:00
Actually get the c++filt invocation right. (Bug 429963)
This commit is contained in:
parent
ab0d8f0041
commit
600b6d349a
@ -103,7 +103,9 @@ def cxxfilt(sym):
|
||||
'--format', 'gnu-v3'],
|
||||
stdin=subprocess.PIPE,
|
||||
stdout=subprocess.PIPE)
|
||||
cxxfilt_proc.stdin.write(sym + "\n")
|
||||
# strip underscores ourselves (workes better than c++filt's
|
||||
# --strip-underscores
|
||||
cxxfilt_proc.stdin.write(sym[1:] + "\n")
|
||||
return cxxfilt_proc.stdout.readline().rstrip("\n")
|
||||
|
||||
line_re = re.compile("^([ \|0-9-]*)(.*) ?\[([^ ]*) \+(0x[0-9A-F]{1,8})\](.*)$")
|
||||
|
Loading…
x
Reference in New Issue
Block a user