diff options
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/demangler.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/third_party/demangler.py b/third_party/demangler.py index ed8d52b0..d5e52c39 100644 --- a/third_party/demangler.py +++ b/third_party/demangler.py @@ -31,9 +31,9 @@ data = open(sys.argv[1], 'r').readlines() SEEN = {} for line in data: if len(line) < 4: continue - if line[:2] != ' ': continue - if line[2] != 'f': continue - m = re.match('^ function (?P<func>[^(]+)\(.*', line) + m = re.match('^ function (?P<func>[^(]+)\(.*', line) # generated code + if not m: + m = re.match('^ + _*\d+: (?P<func>[^ ]+) \(\d+.*', line) # profiling output if not m: continue func = m.groups('func')[0] if func in SEEN: continue |