[PATCH] D150637: [lld][ELF] Add option for suppressing section type mismatch warnings

Petr Hosek via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 15 22:35:00 PDT 2023


phosek added a comment.

It may be worth pointing out that `--no-warn-section-type-mismatch` is the current GNU ld behavior which differs from LLD. I think that `--warn-section-type-mismatch` is a better default, but it's useful to have a switch to control the behavior for codebases that need to support both linkers.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D150637/new/

https://reviews.llvm.org/D150637



More information about the llvm-commits mailing list