diff options
author | Erich Keane <erich.keane@intel.com> | 2018-10-22 21:20:45 +0000 |
---|---|---|
committer | Erich Keane <erich.keane@intel.com> | 2018-10-22 21:20:45 +0000 |
commit | 7ef210d0531eb74c45d5f16ddd3ca48e87b601db (patch) | |
tree | 47ae49f998d64370859f4205bb8273e01d29e25e /llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp | |
parent | 95abadec0bace0093993f6320c741e2b1e0ec14b (diff) | |
download | llvm-7ef210d0531eb74c45d5f16ddd3ca48e87b601db.zip llvm-7ef210d0531eb74c45d5f16ddd3ca48e87b601db.tar.gz llvm-7ef210d0531eb74c45d5f16ddd3ca48e87b601db.tar.bz2 |
Give Multiversion-inline functions linkonce linkage
Since multiversion variant functions can be inline, in C they become
available-externally linkage. This ends up causing the variants to not
be emitted, and not available to the linker.
The solution is to make sure that multiversion functions are always
emitted by marking them linkonce.
Change-Id: I897aa37c7cbba0c1eb2c57ee881d5000a2113b75
llvm-svn: 344957
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/DebugHandlerBase.cpp')
0 files changed, 0 insertions, 0 deletions