commit | 93235f7b6ff000c80acf25cc998b853449c68c77 | [log] [tgz] |
---|---|---|
author | Brian Carlstrom <bdc@google.com> | Thu Mar 29 22:48:15 2012 -0700 |
committer | Brian Carlstrom <bdc@google.com> | Thu Mar 29 22:48:15 2012 -0700 |
tree | a8f7eb2a38c8e686813ba57b41d8ac4b8ed5ad4a | |
parent | b06cdefa11fd5088b8a423beec14d625f33d0205 [diff] [blame] |
Dump current klass_ on bad ChangeClass Change-Id: Idbe55d7e00a4b40993e6382b2bcfbb34ac39cc41
diff --git a/src/logging.cc b/src/logging.cc index f962e41..4aacd3b 100644 --- a/src/logging.cc +++ b/src/logging.cc
@@ -74,6 +74,11 @@ return; } + if (address_ == NULL) { + os << "00000000:"; + return; + } + static const char gHexDigit[] = "0123456789abcdef"; const unsigned char* addr = reinterpret_cast<const unsigned char*>(address_); char out[76]; /* exact fit */