Don't print a type of variable in Address::Dump if it's unknown (i.e. nullptr)
authorIlia K <ki.stfu@gmail.com>
Tue, 28 Apr 2015 12:45:57 +0000 (12:45 +0000)
committerIlia K <ki.stfu@gmail.com>
Tue, 28 Apr 2015 12:45:57 +0000 (12:45 +0000)
commit6e46512ec3a7f0b6481346e1148100ab0515943a
tree803a22751881706dff5591b5052b9bb463c6601c
parentd1c6916327d622f78d6dad123b1305b2b69d0551
Don't print a type of variable in Address::Dump if it's unknown (i.e. nullptr)

Summary: This patch fixes dereferencing of nullptr in case when GetType() returns that.

Reviewers: jingham, granata.enrico, clayborg

Reviewed By: clayborg

Subscribers: lldb-commits, granata.enrico, clayborg, jingham

Differential Revision: http://reviews.llvm.org/D9274

llvm-svn: 235982
lldb/source/Core/Address.cpp