aboutsummaryrefslogtreecommitdiff
path: root/lldb/scripts/Python/python-wrapper.swig
diff options
context:
space:
mode:
authorDavid Majnemer <david.majnemer@gmail.com>2015-10-19 23:22:49 +0000
committerDavid Majnemer <david.majnemer@gmail.com>2015-10-19 23:22:49 +0000
commitfac5243493ffdf437d5f02bc20e14b1d3205fd8e (patch)
tree5fb45face7e952590fabae7540a6caf293d8767e /lldb/scripts/Python/python-wrapper.swig
parent1e59a66c695527b196a7a97f46451beb682f1119 (diff)
downloadllvm-fac5243493ffdf437d5f02bc20e14b1d3205fd8e.zip
llvm-fac5243493ffdf437d5f02bc20e14b1d3205fd8e.tar.gz
llvm-fac5243493ffdf437d5f02bc20e14b1d3205fd8e.tar.bz2
[MS ABI] Give linkonce_odr, instead of external_linkage, to certain kinds of static data members
Out-of-line definitions of static data members which have an inline initializer must get GVA_DiscardableODR linkage instead of GVA_StrongExternal linkage. MSVC 2013's behavior is different with respect to this and would cause link errors if one TU provided a definition while another did not. MSVC 2015 fixed this bug, making this OK. Note that the 2015 behavior is always compatible with 2013: it never produces a strong definition. This essentially reverts r237787. llvm-svn: 250757
Diffstat (limited to 'lldb/scripts/Python/python-wrapper.swig')
0 files changed, 0 insertions, 0 deletions