projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Properly check --compress-debug-sections=XXX
[deliverable/binutils-gdb.git]
/
gold
/
fileread.cc
diff --git
a/gold/fileread.cc
b/gold/fileread.cc
index cf709815f0df70e2cfd958dbf08001c53c840d93..0bd83206674b06ea1d6a12da6d883040307733fa 100644
(file)
--- a/
gold/fileread.cc
+++ b/
gold/fileread.cc
@@
-293,6
+293,7
@@
void
File_read::lock(const Task* task)
{
gold_assert(this->released_);
File_read::lock(const Task* task)
{
gold_assert(this->released_);
+ gold_debug(DEBUG_FILES, "Locking file \"%s\"", this->name_.c_str());
this->token_.add_writer(task);
this->released_ = false;
}
this->token_.add_writer(task);
this->released_ = false;
}
@@
-302,6
+303,7
@@
File_read::lock(const Task* task)
void
File_read::unlock(const Task* task)
{
void
File_read::unlock(const Task* task)
{
+ gold_debug(DEBUG_FILES, "Unlocking file \"%s\"", this->name_.c_str());
this->release();
this->token_.remove_writer(task);
}
this->release();
this->token_.remove_writer(task);
}
This page took
0.023067 seconds
and
4
git commands to generate.