This is an archive of the discontinued LLVM Phabricator instance.

[libunwind] [cmake] Rename append_if to avoid collision with LLVM
ClosedPublic

Authored by mgorny on Dec 8 2018, 8:30 AM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

mgorny created this revision.Dec 8 2018, 8:30 AM
krytarowski accepted this revision.Dec 8 2018, 9:52 AM
This revision is now accepted and ready to land.Dec 8 2018, 9:52 AM
This revision was automatically updated to reflect the committed changes.