- Emit warnings for files without symbols.
- Add -no_warning_for_no_symbols (consistent with cctools libtool, see https://www.manpagez.com/man/1/libtool/osx-10.11.6.php)
Test plan: make check-all
Differential D95843
[tools][llvm-libtool] Emit warnings for files without symbols alexander-shaposhnikov on Feb 1 2021, 6:43 PM. Authored by
Details
Test plan: make check-all
Diff Detail
Unit Tests Event TimelineComment Actions Should we warn on files that would have been filtered out by -arch_only? (What does cctools libtool do?) Should we warn on bitcode files that contain no symbols? Comment Actions @smeenai : many thanks for the review,
Perhaps, it makes sense to add tests for these cases Comment Actions Yup, we should definitely add tests. We're currently checking for no symbols before we do the -arch_only filtering, right? So our current behavior diverges from cctools? Comment Actions LGTM. A few other cases that might be good to have test cases for as well, but I'll let you judge that:
|
Nit: other descriptions don't appear to end with a full stop.