HomePhabricator

[LLD] [COFF] Don't error out on duplicate absolute symbols with the same value

Authored by mstorsjo on Dec 29 2019, 2:32 PM.

Description

[LLD] [COFF] Don't error out on duplicate absolute symbols with the same value

Both MS link.exe and GNU ld.bfd handle it this way; one can have
multiple object files defining the same absolute symbols, as long
as it defines it to the same value. But if there are multiple absolute
symbols with differing values, it is treated as an error.

Differential Revision: https://reviews.llvm.org/D71981