tools/lldb/lldb_chrome_symbols.py
def _add_symbols(debugger, dsym_dir):
    """Adds the dSYMs in `dsym_dir` to the `debugger`. This filters the symbols
    to just the relevant modules that are loaded in the process because lldb
    prints an error when adding symbols that are not used.
    """
    dsyms = glob.glob(os.path.join(dsym_dir, '*.dSYM'))
    wanted_dsyms = set([
        m.GetFileSpec().GetFilename() + '.dSYM'
        for m in debugger.GetSelectedTarget().module_iter()
    ])
    for dsym in dsyms:
        if os.path.basename(dsym) in wanted_dsyms:
            debugger.HandleCommand('target symbol add "{}"'.format(dsym))
Adds the dSYMs in `dsym_dir` to the `debugger`. This filters the symbols
    to just the relevant modules that are loaded in the process because lldb
    prints an error when adding symbols that are not used.
    
Adds the dSYMs in `dsym_dir` to the `debugger`. This filters the symbols
to just the relevant modules that are loaded in the process because lldb
prints an error when adding symbols that are not used.
Adds the dSYMs in ` dsym_dir ` to the ` debugger ` . This filters the symbols to just the relevant modules that are loaded in the process because lldb prints an error when adding symbols that are not used .
def _add_symbols(debugger, dsym_dir):
    dsyms = glob.glob(os.path.join(dsym_dir, '*.dSYM'))
    wanted_dsyms = set([
        m.GetFileSpec().GetFilename() + '.dSYM'
        for m in debugger.GetSelectedTarget().module_iter()
    ])
    for dsym in dsyms:
        if os.path.basename(dsym) in wanted_dsyms:
            debugger.HandleCommand('target symbol add "{}"'.format(dsym))
def _add_symbols ( debugger , dsym_dir ) : dsyms = glob . glob ( os . path . join ( dsym_dir , '*.dSYM' ) ) wanted_dsyms = set ( [ m . GetFileSpec ( ) . GetFilename ( ) + '.dSYM' for m in debugger . GetSelectedTarget ( ) . module_iter ( ) ] ) for dsym in dsyms : if os . path . basename ( dsym ) in wanted_dsyms : debugger . HandleCommand ( 'target symbol add "{}"' . format ( dsym ) )
Adds the dSYMs in `dsym_dir` to the `debugger`.
Adds the dSYMs in ` dsym_dir ` to the ` debugger ` .
"""Adds the dSYMs in `dsym_dir` to the `debugger`. This filters the symbols
    to just the relevant modules that are loaded in the process because lldb
    prints an error when adding symbols that are not used.
    """
debugger
dsym_dir