diff options
| author | Thomas Anderson <thomasanderson@google.com> | 2019-01-30 19:07:30 +0000 |
|---|---|---|
| committer | Thomas Anderson <thomasanderson@google.com> | 2019-01-30 19:07:30 +0000 |
| commit | 095ed0554f9121a726b306f6ceb5bf3cf65f21e5 (patch) | |
| tree | bfa2e4bce9897379adba1e8f94c6449017481eb5 /libcxx/src/mutex.cpp | |
| parent | 89e4dcb4be63ae71c533abac0a05fec284898a56 (diff) | |
| download | bcm5719-llvm-095ed0554f9121a726b306f6ceb5bf3cf65f21e5.tar.gz bcm5719-llvm-095ed0554f9121a726b306f6ceb5bf3cf65f21e5.zip | |
[libc++] Don't define exception destructors when using vcruntime
Exception destructors are provided by vcruntime. Fixes link errors like:
lld-link: error: duplicate symbol: "public: virtual __cdecl std::invalid_argument::~invalid_argument(void)" (??1invalid_argument@std@@UEAA@XZ) in stdexcept.obj and in libcpmt.lib(xthrow.obj)
lld-link: error: duplicate symbol: "public: virtual __cdecl std::length_error::~length_error(void)" (??1length_error@std@@UEAA@XZ) in stdexcept.obj and in libcpmt.lib(xthrow.obj)
lld-link: error: duplicate symbol: "public: virtual __cdecl std::out_of_range::~out_of_range(void)" (??1out_of_range@std@@UEAA@XZ) in stdexcept.obj and in libcpmt.lib(xthrow.obj)
lld-link: error: duplicate symbol: "public: virtual __cdecl std::overflow_error::~overflow_error(void)" (??1overflow_error@std@@UEAA@XZ) in stdexcept.obj and in libcpmt.lib(xthrow.obj)
Differential Revision: https://reviews.llvm.org/D57425
llvm-svn: 352646
Diffstat (limited to 'libcxx/src/mutex.cpp')
0 files changed, 0 insertions, 0 deletions

