[PATCH] D94342: [lld-macho] Basic support for linkage and visibility attributes in LTO

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Feb 8 19:05:32 PST 2021


MaskRay added a comment.

> While at it, I also added basic logic around visibility. We don't do anything useful with it yet, but we do check that its value is valid. LLD-ELF appears to use it only to set FinalDefinitionInLinkageUnit for LTO, which I think is just a performance optimization.

D92900 <https://reviews.llvm.org/D92900> may have some interesting tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D94342/new/

https://reviews.llvm.org/D94342



More information about the llvm-commits mailing list