diff options
author | Kazuhiro Inaba <kinaba@google.com> | 2017-12-04 16:26:38 +0900 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2017-12-15 09:33:37 +0000 |
commit | 9ff1251fed35356bf74dc875ae9b0cea9e50a3b0 (patch) | |
tree | ff371b868daeb8092f879b8c29bf93f819b09494 /compiler/optimizing/graph_visualizer.cc | |
parent | 192cf6e300316d3fbbead115b1ca50ed3dc2f4b3 (diff) |
ART: Null thread_name check for loggings in rare occasions.
Passing null char* to ostream::operator<< is undefined and can cause
a crash (for instance when libc++ is used) instead of printing the log.
Bug: None (crbug.com/531282)
Test: None
Change-Id: Ieb1f0fc50723b06e72b66b1da7b6abe58d5b9a02
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions