[all-commits] [llvm/llvm-project] b0ac68: [ELF] Prevent internalizing used comdat symbol
Igor Kudrin via All-commits
all-commits at lists.llvm.org
Wed Dec 1 21:15:03 PST 2021
Author: Igor Kudrin <ikudrin at accesssoftek.com>
Date: 2021-12-02 (Thu, 02 Dec 2021)
[ELF] Prevent internalizing used comdat symbol
When a comdat symbol is defined in both bitcode and regular object
files, which are contained in the same archive, the linker could lose
the flag that the symbol is used in the regular object file and allow
LTO to internalize it, which led to "error: undefined symbol".
The issue was introduced in D79300.
Differential Revision: https://reviews.llvm.org/D114801
More information about the All-commits