Upgrade logging to resemble base/logging.h.
commit4e7b4431ab30d9d291e7cb60b230b7f83affc7b0
authorsimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Jul 2014 22:38:39 +0000 (16 22:38 +0000)
committersimonb@chromium.org <simonb@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Wed, 16 Jul 2014 22:38:39 +0000 (16 22:38 +0000)
treec3985250385b2d3c39e8b67371ade1e55f16a782
parent78539dfc91cb59f079ac6ada3b80ac7e57fb0dc4
Upgrade logging to resemble base/logging.h.

First phase of extending the relocation packer for arm64.

Upgrade logging to be streams-based.  Add new unit tests to cover logging
and checking features.  Mechanical changes to logging call sites.

Also correct a type promotion issue that causes incorrect DT_RELCOUNT
adjustments when the packer is compiled as a 32-bit Linux binary.

BUG=385553

Review URL: https://codereview.chromium.org/392653002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283552 0039d316-1c4b-4281-b951-d872f2087c98
tools/relocation_packer/relocation_packer.gyp
tools/relocation_packer/src/debug.cc
tools/relocation_packer/src/debug.h
tools/relocation_packer/src/debug_unittest.cc [new file with mode: 0644]
tools/relocation_packer/src/elf_file.cc
tools/relocation_packer/src/main.cc