[PATCH] D30339: [libcxxabi] Disable calls to fprintf when building for baremetal targets in release mode

Jonathan Roelofs via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 24 09:35:28 PST 2017


jroelofs added a comment.

In https://reviews.llvm.org/D30339#685888, @EricWF wrote:

> isn't this incorrect because `config.h` always defines LIBCXX_BAREMETAL?


Oh, right, it needs to be:

  #if !LIBCXXABI_BAREMETAL || !defined(NDEBUG)


Repository:
  rL LLVM

https://reviews.llvm.org/D30339





More information about the cfe-commits mailing list