Skip to content
  • Greg Clayton's avatar
    Cleaned up the the code that figures out the inlined stack frames given a · 1ed54f50
    Greg Clayton authored
    symbol context that represents an inlined function. This function has been
    renamed internally to:
    
    bool
    SymbolContext::GetParentOfInlinedScope (const Address &curr_frame_pc, 
                                            SymbolContext &next_frame_sc, 
                                            Address &next_frame_pc) const;
                                            
    And externally to:
    
    SBSymbolContext
    SBSymbolContext::GetParentOfInlinedScope (const SBAddress &curr_frame_pc, 
                                              SBAddress &parent_frame_addr) const;
    
    The correct blocks are now correctly calculated.
    
    Switched the stack backtracing engine (in StackFrameList) and the address
    context printing over to using the internal SymbolContext::GetParentOfInlinedScope(...) 
    so all inlined callstacks will match exactly.
    
    llvm-svn: 140910
    1ed54f50
Loading