This flag suppresses warnings produced by the linker. In ld64 this has
an interesting interaction with -fatal_warnings, it silences the
warnings but the link still fails. Instead of doing that here we still
print the warning and eagerly fail the link in case both are passed,
this seems more reasonable so users can understand why the link fails.
Details
Details
- Reviewers
MaskRay - Group Reviewers
Restricted Project - Commits
- rG7d57c69826a6: [lld-macho] Add support for -w
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
delete braces for one-line simple body.