parameters: (thread)
docstring: Returns the symbol name for the call site of the leaf function.
docstring_summary: Returns the symbol name for the call site of the leaf function.
docstring_tokens: Returns the symbol name for the call site of the leaf function .
function: def get_caller_symbol(thread):
      """
      Returns the symbol name for the call site of the leaf function.
      """
      depth = thread.GetNumFrames()
      if depth <= 1:
          return None
      caller = thread.GetFrameAtIndex(1).GetSymbol()
      if caller:
          return caller.GetName()
      else:
          return None
function_tokens: def get_caller_symbol ( thread ) : depth = thread . GetNumFrames ( ) if depth <= 1 : return None caller = thread . GetFrameAtIndex ( 1 ) . GetSymbol ( ) if caller : return caller . GetName ( ) else : return None