OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import logging | 5 import logging |
6 import os | 6 import os |
7 import signal | 7 import signal |
8 import subprocess | 8 import subprocess |
9 import sys | 9 import sys |
10 import time | 10 import time |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
164 ("testing::TestInfo::Run", "_ZN7testing8TestInfo3RunEv"), | 164 ("testing::TestInfo::Run", "_ZN7testing8TestInfo3RunEv"), |
165 ("testing::internal::Handle*ExceptionsInMethodIfSupported", | 165 ("testing::internal::Handle*ExceptionsInMethodIfSupported", |
166 "_ZN7testing8internal3?Handle*ExceptionsInMethodIfSupported*"), | 166 "_ZN7testing8internal3?Handle*ExceptionsInMethodIfSupported*"), |
167 | 167 |
168 # Depend on scheduling: | 168 # Depend on scheduling: |
169 ("MessageLoop::Run", "_ZN11MessageLoop3RunEv"), | 169 ("MessageLoop::Run", "_ZN11MessageLoop3RunEv"), |
170 ("MessageLoop::RunTask", "_ZN11MessageLoop7RunTask*"), | 170 ("MessageLoop::RunTask", "_ZN11MessageLoop7RunTask*"), |
171 ("RunnableMethod*", "_ZN14RunnableMethod*"), | 171 ("RunnableMethod*", "_ZN14RunnableMethod*"), |
172 ("RunnableFunction*", "_ZN16RunnableFunction*"), | 172 ("RunnableFunction*", "_ZN16RunnableFunction*"), |
173 ("DispatchToMethod*", "_Z*16DispatchToMethod*"), | 173 ("DispatchToMethod*", "_Z*16DispatchToMethod*"), |
| 174 ("base::internal::Invoker*::DoInvoke*", |
| 175 "_ZN4base8internal8Invoker*DoInvoke*"), # Invoker{1,2,3} |
174 ] | 176 ] |
175 | 177 |
176 ret = [] | 178 ret = [] |
177 for pair in need_mangling: | 179 for pair in need_mangling: |
178 ret.append(pair[1 if mangled else 0]) | 180 ret.append(pair[1 if mangled else 0]) |
179 | 181 |
180 ret += [ | 182 ret += [ |
181 # Also don't show the internals of libc/pthread. | 183 # Also don't show the internals of libc/pthread. |
182 "start_thread", | 184 "start_thread", |
183 "main", | 185 "main", |
184 "BaseThreadInitThunk", | 186 "BaseThreadInitThunk", |
185 ] | 187 ] |
186 | 188 |
187 if use_re_wildcards: | 189 if use_re_wildcards: |
188 for i in range(0, len(ret)): | 190 for i in range(0, len(ret)): |
189 ret[i] = ret[i].replace('*', '.*').replace('?', '.') | 191 ret[i] = ret[i].replace('*', '.*').replace('?', '.') |
190 | 192 |
191 return ret | 193 return ret |
OLD | NEW |