[lld][COFF] Add support for overriding weak symbols in LLVM bitcode input
LLVM bitcode contains support for weak symbols, so we can add support for overriding weak symbols in the output COFF even though COFF doesn't have inherent support for weak symbols. The motivation for this patch is that Chromium is trying to use libc++'s assertion handler mechanism, which relies on weak symbols [0], but we're unable to perform a ThinLTO build on Windows due to this problem [1]. [0]: https://reviews.llvm.org/D121478 [1]: https://crrev.com/c/3863576 Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D133165
Loading
Please sign in to comment