summaryrefslogtreecommitdiffstats
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2019-03-06 20:31:57 +0000
committerEric Fiselier <eric@efcs.ca>2019-03-06 20:31:57 +0000
commit2710d8e105a683656cdaa825b6c0af46ae25f8ae (patch)
treea4895b5f1582ed0ca4b11f69866d347e545db307 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent5ced5961984b457bba23e0285a57ad12eb2d781b (diff)
downloadbcm5719-llvm-2710d8e105a683656cdaa825b6c0af46ae25f8ae.tar.gz
bcm5719-llvm-2710d8e105a683656cdaa825b6c0af46ae25f8ae.zip
Fix ABI compatibility of `<stdexcept>` with VCRuntime.
Summary: Currently, libc++'s `<stdexcept>` doesn't play nice with `vcruntime`. Specifically: * `logic_error` and `runtime_error` have a different layout. * libc++'s `logic_error` and `runtime_error` override `what()` but `vcruntime` does not. * `vcruntime` uses weak vtables for `<stdexcept>` types. * libc++'s `<stdexcept>` constructors and assignment operators may have different manglings than `vcruntimes`. This patch makes libc++'s declarations in `<stdexcept>` match those provided by MSVC's STL as closely as possible. If MSVC doesn't declare a special member, then neither do we. This ensures that the implicit definitions have the same linkage, visibility, triviality, and noexcept-ness. Reviewers: thomasanderson, ldionne, smeenai Reviewed By: thomasanderson Subscribers: jdoerfert, libcxx-commits Differential Revision: https://reviews.llvm.org/D58945 llvm-svn: 355546
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud