[PATCH] D55476: [libunwind] [cmake] Rename append_if to avoid collision with LLVM

Michał Górny via Phabricator reviews at reviews.llvm.org
Sat Dec 8 08:30:50 PST 2018


mgorny created this revision.
mgorny added reviewers: krytarowski, compnerd, phosek.
Herald added subscribers: libcxx-commits, jfb.

Rename the 'append_if' macro used in libunwind to 'unwind_append_if'.
Otherwise, when used in a combined LLVM+libunwind build, it overrides
the *incompatible* 'append_if' function from LLVM and breaks projects
following libunwind, e.g. OpenMP.


Repository:
  rUNW libunwind

https://reviews.llvm.org/D55476

Files:
  CMakeLists.txt
  src/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D55476.177394.patch
Type: text/x-patch
Size: 7449 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20181208/2abd50c6/attachment.bin>


More information about the libcxx-commits mailing list