Add extra debugging output for files and descriptors.
authorCary Coutant <ccoutant@google.com>
Mon, 2 Feb 2015 19:47:58 +0000 (11:47 -0800)
committerCary Coutant <ccoutant@google.com>
Wed, 4 Feb 2015 04:03:41 +0000 (20:03 -0800)
commit8265ef950202a4bf0d3444802ad5d7087b4b185d
tree32afb08f5da779e88b50937762158262b1e13839
parentb10c5c5012c3accfefa3f3847d3eb83a788bdbbf
Add extra debugging output for files and descriptors.

gold/
* descriptors.cc (Descriptors::open): Set artificially-low limit for
file descriptors when debugging enabled. Add debug output.
(Descriptors::release): Add debug output.
(Descriptors::close_some_descriptor): Likewise.
(Descriptors::close_all): Likewise.
* fileread.cc (File_read::lock): Likewise.
(File_read::unlock): Likewise.
gold/descriptors.cc
gold/fileread.cc