OSDN Git Service

[CodeGen] Ignore private symbols in llvm.used for COFF
authorShoaib Meenai <smeenai@fb.com>
Fri, 26 Jan 2018 00:15:25 +0000 (00:15 +0000)
committerShoaib Meenai <smeenai@fb.com>
Fri, 26 Jan 2018 00:15:25 +0000 (00:15 +0000)
commitf251ca0c6cc8623e3323385944468ad525928c9b
treedd0798ffe28b0015e565a2f16499843c9e540e34
parent8dd9991a9bc9c88f45182b5c4554722b4f8a4a2e
[CodeGen] Ignore private symbols in llvm.used for COFF

Similar to the existing handling for internal symbols, private symbols
are also not visible to the linker and should be ignored.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@323483 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
test/CodeGen/X86/coff-no-dead-strip.ll