From Craig Silverstein: Report output file name with ODR violation

warning message.
This commit is contained in:
Ian Lance Taylor
2007-11-14 18:44:58 +00:00
parent eb01e199fd
commit 78f156961e
4 changed files with 7 additions and 6 deletions

View File

@@ -1027,7 +1027,7 @@ class Symbol_table
// Check candidate_odr_violations_ to find symbols with the same name
// but apparently different definitions (different source-file/line-no).
void
detect_odr_violations() const;
detect_odr_violations(const char* output_file_name) const;
// SYM is defined using a COPY reloc. Return the dynamic object
// where the original definition was found.