[PATCH] D42158: libcxx: Stop using private MSVC macros in the exception implementation.

Peter Collingbourne via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 16 19:38:53 PST 2018


pcc created this revision.
pcc added reviewers: compnerd, smeenai, EricWF, mclow.lists.

Inline the provided "fallback" definitions (which seem to always be
taken) that expand to __cdecl into users. The fallback definitions
for the *CRTIMP* macros were wrong in the case where the library is
being linked statically, so define our own macro as a replacement.


https://reviews.llvm.org/D42158

Files:
  libcxx/include/__config
  libcxx/src/support/runtime/exception_msvc.ipp
  libcxx/src/support/runtime/exception_pointer_msvc.ipp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42158.130087.patch
Type: text/x-patch
Size: 3968 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180117/6abc757e/attachment.bin>


More information about the llvm-commits mailing list