diff options
author | Fangrui Song <i@maskray.me> | 2021-03-09 22:33:47 -0800 |
---|---|---|
committer | Fangrui Song <i@maskray.me> | 2021-03-09 22:33:47 -0800 |
commit | 74bece8ddee73b28af42b0fa38786d974aeac972 (patch) | |
tree | 152e9360f7250666ecd334edac9d1210b75a4596 /clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp | |
parent | 46bf25a7c5d3d648093edf6aab99004c053abcd4 (diff) | |
download | llvm-74bece8ddee73b28af42b0fa38786d974aeac972.zip llvm-74bece8ddee73b28af42b0fa38786d974aeac972.tar.gz llvm-74bece8ddee73b28af42b0fa38786d974aeac972.tar.bz2 |
[WPD][ELF] Allow whole program devirtualization for version script localized symbols
A `local:` version node in a version script can change the effective symbol binding
to STB_LOCAL. The linker needs to communicate the fact to enable WPD
(otherwise LTO does not know that the `!vcall_visibility` metadata has
effectively changed from VCallVisibilityPublic to VCallVisibilityLinkageUnit).
Reviewed By: tejohnson
Differential Revision: https://reviews.llvm.org/D98220
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/StdLibraryFunctionsChecker.cpp')
0 files changed, 0 insertions, 0 deletions