diff options
author | Greg Clayton <gclayton@apple.com> | 2010-08-30 18:11:35 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2010-08-30 18:11:35 +0000 |
commit | 59e8fc1c7404de213591bc416bb7800539bfc575 (patch) | |
tree | ece73e90414bf24f5f03a292aaa6bd7777b5fa5e /lldb/source/Core/Address.cpp | |
parent | e2f8bdac14c92de971852eb41dd0f70d202953f4 (diff) | |
download | bcm5719-llvm-59e8fc1c7404de213591bc416bb7800539bfc575.tar.gz bcm5719-llvm-59e8fc1c7404de213591bc416bb7800539bfc575.zip |
Clarified the intent of the SymbolContextScope class in the header
documentation. Symbol now inherits from the symbol
context scope so that the StackID can use a "SymbolContextScope *"
instead of a blockID (which could have been the same as some other
blockID from another symbol file).
Modified the stacks that are created on subsequent stops to reuse
the previous stack frame objects which will allow for some internal
optimization using pointer comparisons during stepping.
llvm-svn: 112495
Diffstat (limited to 'lldb/source/Core/Address.cpp')
-rw-r--r-- | lldb/source/Core/Address.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/lldb/source/Core/Address.cpp b/lldb/source/Core/Address.cpp index bea7493ee9d..070e11d72ce 100644 --- a/lldb/source/Core/Address.cpp +++ b/lldb/source/Core/Address.cpp @@ -241,7 +241,6 @@ ReadCStringFromMemory (ExecutionContextScope *exe_scope, const Address &address, } Address::Address (addr_t address, const SectionList * sections) : - SymbolContextScope(), m_section (NULL), m_offset (LLDB_INVALID_ADDRESS) { @@ -707,14 +706,6 @@ Address::CalculateSymbolContext (SymbolContext *sc) } void -Address::DumpSymbolContext (Stream *s) -{ - SymbolContext sc; - CalculateSymbolContext (&sc); - sc.Dump (s, NULL); -} - -void Address::DumpDebug(Stream *s) const { *s << (void *)this << ": " << "Address"; |