apple / llvm-project

The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. This fork is used to manage Apple’s stable releases of Clang as well as support the Swift project.
https://llvm.org
Other
1.1k stars 320 forks source link

[Build] Turn off -undefined-version when building with lld #8863

Closed al45tair closed 3 weeks ago

al45tair commented 4 weeks ago

Newer lld defaults to -no-undefined-version, which breaks the build because of various symbols that are (a) versioned and (b) not always defined (depending on platform).

rdar://123436280

al45tair commented 4 weeks ago

This is a cherry pick of #8255.