analyzer: fix more pointer-printing in logs
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 29 Oct 2020 00:07:35 +0000 (20:07 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Thu, 29 Oct 2020 00:07:35 +0000 (20:07 -0400)
commit0a36f5f21cd9dcaaf99e78d2ec995d6cb2918274
tree2372935630efab483813370466ec546da88ba151
parentf4f9364d2074e027490c1b08956ac1cbd9617575
analyzer: fix more pointer-printing in logs

gcc/analyzer/ChangeLog:
* program-state.cc (sm_state_map::print): Guard the printing of
the origin pointer with !flag_dump_noaddr.
* region.cc (string_region::dump_to_pp): Likewise for
m_string_cst.
gcc/analyzer/program-state.cc
gcc/analyzer/region.cc