[PATCH] D38522: [libc++] Support Microsoft ABI without vcruntime headers

Shoaib Meenai via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 3 17:25:30 PDT 2017


smeenai created this revision.
Herald added a subscriber: mgorny.

The vcruntime headers are hairy and clash with both libc++ headers
themselves and other libraries. libc++ normally deals with the clashes
by deferring to the vcruntime headers and silencing its own definitions,
but for clients which don't want to depend on vcruntime headers, it's
desirable to support the opposite, i.e. have libc++ provide its own
definitions.


https://reviews.llvm.org/D38522

Files:
  CMakeLists.txt
  docs/UsingLibcxx.rst
  include/__config_site.in
  include/exception
  include/new
  src/new.cpp
  src/support/runtime/exception_msvc.ipp
  src/support/runtime/exception_pointer_msvc.ipp
  test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_nothrow_replace.pass.cpp
  test/std/language.support/support.dynamic/new.delete/new.delete.array/new_array_replace.pass.cpp
  test/std/language.support/support.dynamic/new.delete/new.delete.single/new_nothrow_replace.pass.cpp
  utils/libcxx/test/config.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38522.117607.patch
Type: text/x-patch
Size: 11339 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171004/436f38ca/attachment.bin>


More information about the cfe-commits mailing list