Change default to discard temporary local symbols in merge sections.
[deliverable/binutils-gdb.git] / gold / fileread.cc
index cf709815f0df70e2cfd958dbf08001c53c840d93..0bd83206674b06ea1d6a12da6d883040307733fa 100644 (file)
@@ -293,6 +293,7 @@ void
 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;
 }
@@ -302,6 +303,7 @@ File_read::lock(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 page took 0.024313 seconds and 4 git commands to generate.