[ThinLTO] Import symver directives for imported symbols (PR48214)
authorHans Wennborg <hans@chromium.org>
Mon, 30 Nov 2020 15:21:54 +0000 (16:21 +0100)
committerHans Wennborg <hans@chromium.org>
Wed, 2 Dec 2020 13:56:43 +0000 (14:56 +0100)
commit437c4653855fbbe47a860ae95eb445fd004aa4de
tree209773a811b793bd26c3f217896bae19b4030dcb
parent45d8a7843253ec68367c26114a2aa6bff2a7a4bb
[ThinLTO] Import symver directives for imported symbols (PR48214)

When importing symbols from another module, also import any
corresponding symver directives.

Differential revision: https://reviews.llvm.org/D92335
llvm/lib/Linker/CMakeLists.txt
llvm/lib/Linker/IRMover.cpp
llvm/test/ThinLTO/X86/Inputs/import-symver-foo.ll [new file with mode: 0644]
llvm/test/ThinLTO/X86/import-symver.ll [new file with mode: 0644]
llvm/utils/gn/secondary/llvm/lib/Linker/BUILD.gn