summaryrefslogtreecommitdiffstats
path: root/lldb/source/Symbol/UnwindTable.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2013-04-29 17:25:54 +0000
committerGreg Clayton <gclayton@apple.com>2013-04-29 17:25:54 +0000
commitb5ad4ec7a31206227b1cd657dd41b21cc6afc98e (patch)
tree68f35ccdff9e1410bca21aeb2e216fa91d45a19f /lldb/source/Symbol/UnwindTable.cpp
parentf1f1c626e7fcd3db60641be223308390de288a41 (diff)
downloadbcm5719-llvm-b5ad4ec7a31206227b1cd657dd41b21cc6afc98e.tar.gz
bcm5719-llvm-b5ad4ec7a31206227b1cd657dd41b21cc6afc98e.zip
Cleanup logging to use the new "std::string FileSpec::GetPath()" function. Also added a similar function for modules:
std::string Module::GetSpecificationDescription () const; This returns the module as "/usr/lib/libfoo.dylib" for normal files (calls "std::string FileSpec::GetPath()" on m_file) but it also might include the object name in case the module is for a .o file in a BSD archive ("/usr/lib/libfoo.a(bar.o)"). Cleaned up necessary logging code to use it. llvm-svn: 180717
Diffstat (limited to 'lldb/source/Symbol/UnwindTable.cpp')
-rw-r--r--lldb/source/Symbol/UnwindTable.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Symbol/UnwindTable.cpp b/lldb/source/Symbol/UnwindTable.cpp
index f128066684f..c77628bf7dd 100644
--- a/lldb/source/Symbol/UnwindTable.cpp
+++ b/lldb/source/Symbol/UnwindTable.cpp
@@ -135,7 +135,7 @@ UnwindTable::GetUncachedFuncUnwindersContainingAddress (const Address& addr, Sym
void
UnwindTable::Dump (Stream &s)
{
- s.Printf("UnwindTable for %s/%s:\n", m_object_file.GetFileSpec().GetDirectory().GetCString(), m_object_file.GetFileSpec().GetFilename().GetCString());
+ s.Printf("UnwindTable for '%s':\n", m_object_file.GetFileSpec().GetPath().c_str());
const_iterator begin = m_unwinds.begin();
const_iterator end = m_unwinds.end();
for (const_iterator pos = begin; pos != end; ++pos)
OpenPOWER on IntegriCloud