I noticed that the instance of OpenFile in sanitizer_solaris.cc is no longer needed.
Removed as follows, tested on x86_64-pc-solaris2.11. Ok for trunk?
Differential D63764
[Sanitizers] Remove obsolete OpenFile from sanitizer_solaris.cc ro on Jun 25 2019, 5:37 AM. Authored by
Details I noticed that the instance of OpenFile in sanitizer_solaris.cc is no longer needed. Removed as follows, tested on x86_64-pc-solaris2.11. Ok for trunk?
Diff Detail
Event TimelineComment Actions Are you sure it's unused? I see several uses of this function: lib$ grep OpenFile sanitizer_common/*.{h,cc} tsan/rtl/*.cc Comment Actions True, but with the instance in sanitizer_solaris.cc removed, the one in sanitizer_posix.cc is used: sanitizer_file.h declares a default for the Both make and make check-all complete successfully without it. Comment Actions Then looks like the right thing to do. |