aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTeresa Johnson <tejohnson@google.com>2020-12-30 15:56:53 -0800
committerTeresa Johnson <tejohnson@google.com>2021-01-27 15:54:13 -0800
commit1487747e990ce9f8851f3d92c3006a74134d7518 (patch)
treedd10c1157a066f0da3125a1168d5c18ea37fd71f /clang/lib/Frontend/CompilerInvocation.cpp
parent6110e7716cd0000fdeb2a7edfbec7c9991f1a08a (diff)
downloadllvm-1487747e990ce9f8851f3d92c3006a74134d7518.zip
llvm-1487747e990ce9f8851f3d92c3006a74134d7518.tar.gz
llvm-1487747e990ce9f8851f3d92c3006a74134d7518.tar.bz2
[LTO] Prevent devirtualization for symbols dynamically exported
Identify dynamically exported symbols (--export-dynamic[-symbol=], --dynamic-list=, or definitions needed to preempt shared objects) and prevent their LTO visibility from being upgraded. This helps avoid use of whole program devirtualization when there may be overrides in dynamic libraries. Differential Revision: https://reviews.llvm.org/D91583
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions