tools/clang/scripts/goma_link.py
def analyze_args(self, args, gen_dir, common_dir, use_common_objects):
    """
    Analyzes the command line arguments in args.
    If no ThinLTO code generation is necessary, returns None.
    Else, returns an AnalyzeArgsResult value.

    Args:
      args: the command line as returned by parse_args().
      gen_dir: directory in which to generate files specific to this target.
      common_dir: directory for file shared among targets.
      use_common_objects: if True, native object files are shared with
        other targets.
    """
    # If we're invoking the NaCl toolchain, don't do distributed code
    # generation.
    if os.path.basename(args.linker).startswith('pnacl-'):
      return None

    rsp_expanded = list(self.expand_args_rsps(args.linker_args))
    expanded_args = list(self.expand_thin_archives(rsp_expanded))

    return self.analyze_expanded_args(expanded_args, args.output, args.linker,
                                      gen_dir, common_dir, use_common_objects)

    Analyzes the command line arguments in args.
    If no ThinLTO code generation is necessary, returns None.
    Else, returns an AnalyzeArgsResult value.

    Args:
      args: the command line as returned by parse_args().
      gen_dir: directory in which to generate files specific to this target.
      common_dir: directory for file shared among targets.
      use_common_objects: if True, native object files are shared with
        other targets.
    
Analyzes the command line arguments in args.
If no ThinLTO code generation is necessary, returns None.
Else, returns an AnalyzeArgsResult value.
Analyzes the command line arguments in args . If no ThinLTO code generation is necessary returns None . Else returns an AnalyzeArgsResult value .
def analyze_args(self, args, gen_dir, common_dir, use_common_objects):
    if os.path.basename(args.linker).startswith('pnacl-'):
      return None
    rsp_expanded = list(self.expand_args_rsps(args.linker_args))
    expanded_args = list(self.expand_thin_archives(rsp_expanded))
    return self.analyze_expanded_args(expanded_args, args.output, args.linker,
                                      gen_dir, common_dir, use_common_objects)
def analyze_args ( self , args , gen_dir , common_dir , use_common_objects ) : if os . path . basename ( args . linker ) . startswith ( 'pnacl-' ) : return None rsp_expanded = list ( self . expand_args_rsps ( args . linker_args ) ) expanded_args = list ( self . expand_thin_archives ( rsp_expanded ) ) return self . analyze_expanded_args ( expanded_args , args . output , args . linker , gen_dir , common_dir , use_common_objects )
Analyzes the command line arguments in args.
Analyzes the command line arguments in args .
"""
    Analyzes the command line arguments in args.
    If no ThinLTO code generation is necessary, returns None.
    Else, returns an AnalyzeArgsResult value.

    Args:
      args: the command line as returned by parse_args().
      gen_dir: directory in which to generate files specific to this target.
      common_dir: directory for file shared among targets.
      use_common_objects: if True, native object files are shared with
        other targets.
    """ # If we're invoking the NaCl toolchain, don't do distributed code # generation.
self
args
the command line as returned by parse_args().
the command line as returned by parse_args () .
gen_dir
directory in which to generate files specific to this target.
directory in which to generate files specific to this target .
common_dir
directory for file shared among targets.
directory for file shared among targets .
use_common_objects
if True, native object files are shared with
other targets.
if True native object files are shared with other targets .