diff options
author | Jason Molenda <jmolenda@apple.com> | 2019-04-23 01:02:51 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2019-04-23 01:02:51 +0000 |
commit | 9270a201b9d1ba735f5364d70318dc8bfea792b1 (patch) | |
tree | ddc3f36530a7eb29259e6fe35f44d4c31bfa715c /lldb/scripts/Python | |
parent | c86011f5bc35a3ad7bd0698a58a59f7bb2e7c94a (diff) | |
download | llvm-9270a201b9d1ba735f5364d70318dc8bfea792b1.zip llvm-9270a201b9d1ba735f5364d70318dc8bfea792b1.tar.gz llvm-9270a201b9d1ba735f5364d70318dc8bfea792b1.tar.bz2 |
Add a small check to PlatformDarwin::LoadScriptingResourceForModule
which reads the python files in a dSYM bundle, to check that the
SymbolFile is actually a dSYM bundle filepath; delay any fetching
of the ScriptInterpreter until after we've done that check.
When debugging a binary without a dSYM on darwin systems, the
SymbolFile we fetch is actually the ObjectFile -- so we would do
an unnecessary trip into Python land and stat around the filesystem
looking for a python file to read in. There's no reason to do any
of this unless the SymbolFile's file path includes the .dSYM bundle
telltale path components.
<rdar://problem/50065315>
llvm-svn: 358938
Diffstat (limited to 'lldb/scripts/Python')
0 files changed, 0 insertions, 0 deletions