diff options
Diffstat (limited to 'lldb/source/Symbol/Function.cpp')
-rw-r--r-- | lldb/source/Symbol/Function.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/lldb/source/Symbol/Function.cpp b/lldb/source/Symbol/Function.cpp index 64c22efa784..c42b0cfd770 100644 --- a/lldb/source/Symbol/Function.cpp +++ b/lldb/source/Symbol/Function.cpp @@ -315,11 +315,9 @@ Function::GetBlock (bool can_create) else { Host::SystemLog (Host::eSystemLogError, - "error: unable to find module shared pointer for function '%s' in %s%s%s\n", + "error: unable to find module shared pointer for function '%s' in %s\n", GetName().GetCString(), - m_comp_unit->GetDirectory().GetCString(), - m_comp_unit->GetDirectory() ? "/" : "", - m_comp_unit->GetFilename().GetCString()); + m_comp_unit->GetPath().c_str()); } m_block.SetBlockInfoHasBeenParsed (true, true); } |