diff options
author | David Blaikie <dblaikie@gmail.com> | 2017-01-27 23:11:10 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2017-01-27 23:11:10 +0000 |
commit | eb21001111696d5e86ba233336974934fa24d421 (patch) | |
tree | 5e52a1dc58a1efb9978afad34bc16a4baa1ce338 /llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp | |
parent | 3db9974b2d4a0d5092eccbf2e1384d66ab1e6a46 (diff) | |
download | llvm-eb21001111696d5e86ba233336974934fa24d421.zip llvm-eb21001111696d5e86ba233336974934fa24d421.tar.gz llvm-eb21001111696d5e86ba233336974934fa24d421.tar.bz2 |
Fix linkage of static locals in available_externally functions to be DiscardableODR/linkonce_odr
As Mehdi put it, entities should either be
available_externally+weak_odr, or linkonce_odr+linkonce_odr. While some
functions are emitted a_e/weak, their local variables were emitted
a_e/linkonce_odr.
While it might be nice to emit them a_e/weak, the Itanium ABI (& best
guess at MSVC's behavior as well) requires the local to be
linkonce/linkonce.
Reviewers: rsmith, mehdi_amini
Differential Revision: https://reviews.llvm.org/D29233
llvm-svn: 293344
Diffstat (limited to 'llvm/lib/Target/ARM/Disassembler/ARMDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions