mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 10:08:59 +08:00
Audit uses of ConstString::AsCString() to make sure they weren't assuming
they would always get a non-NULL string back. <rdar://problem/19298575> llvm-svn: 224602
This commit is contained in:
@@ -96,7 +96,7 @@ AddressResolverFileLine::GetDepth()
|
||||
void
|
||||
AddressResolverFileLine::GetDescription (Stream *s)
|
||||
{
|
||||
s->Printf ("File and line address - file: \"%s\" line: %u", m_file_spec.GetFilename().AsCString(), m_line_number);
|
||||
s->Printf ("File and line address - file: \"%s\" line: %u", m_file_spec.GetFilename().AsCString("<Unknown>"), m_line_number);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user