aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/LiveDebugVariables.cpp
diff options
context:
space:
mode:
authorErich Keane <erich.keane@intel.com>2021-09-16 09:57:54 -0700
committerErich Keane <erich.keane@intel.com>2021-09-17 05:56:38 -0700
commite3b10525b489b604d6a1e540be78bda80afb5868 (patch)
tree7c5f5dfa12e3b7c8795e84d09b3104e2798e57aa /llvm/lib/CodeGen/LiveDebugVariables.cpp
parent58719f61535e8c585ebeb96e6f7c340bbf1f769c (diff)
downloadllvm-e3b10525b489b604d6a1e540be78bda80afb5868.zip
llvm-e3b10525b489b604d6a1e540be78bda80afb5868.tar.gz
llvm-e3b10525b489b604d6a1e540be78bda80afb5868.tar.bz2
Make multiversioning work with internal linkage
We previously made all multiversioning resolvers/ifuncs have weak ODR linkage in IR, since we NEED to emit the whole resolver every time we see a call, but it is not necessarily the place where all the definitions live. HOWEVER, when doing so, we neglected the case where the versions have internal linkage. This patch ensures we do this, so you don't get weird behavior with static functions.
Diffstat (limited to 'llvm/lib/CodeGen/LiveDebugVariables.cpp')
0 files changed, 0 insertions, 0 deletions