[libcxx-commits] [PATCH] D75890: [libunwind] Add flag to disable logging

Leonard Chan via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Mon Mar 9 21:12:19 PDT 2020


leonardchan created this revision.
leonardchan added a reviewer: phosek.
Herald added subscribers: libcxx-commits, cfe-commits, mgorny.
Herald added projects: clang, libc++.

We were seeing non-deterministic binary size differences depending on which toolchain was used to build fuchsia. This is because libunwind embeded the __FILE__ path into a logging macro, even for release builds.

This adds a new flag so that release, non-baremetal builds can still opt for not using logging.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75890

Files:
  clang/cmake/caches/Fuchsia-stage2.cmake
  clang/cmake/caches/Fuchsia.cmake
  libunwind/CMakeLists.txt
  libunwind/docs/BuildingLibunwind.rst
  libunwind/src/config.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75890.249269.patch
Type: text/x-patch
Size: 5155 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20200310/2b9f6d7d/attachment.bin>


More information about the libcxx-commits mailing list