This is an archive of the discontinued LLVM Phabricator instance.

[libunwind] Don't enable _LIBUNWIND_BUILD_ZERO_COST_APIS if building the SJLJ APIs
ClosedPublic

Authored by mstorsjo on Jan 25 2018, 1:05 PM.

Details

Summary

Otherwise, a shared library build with SJLJ APIs enabled would end up with duplicate symbols.

This didn't occur for the apple && arm case due to specifically checking for that in the surrounding ifdef.

Diff Detail

Repository
rL LLVM

Event Timeline

mstorsjo created this revision.Jan 25 2018, 1:05 PM
compnerd accepted this revision.Jan 25 2018, 4:58 PM

Ugh, I really wish that we could simplify that wrapping conditional.

This revision is now accepted and ready to land.Jan 25 2018, 4:58 PM
This revision was automatically updated to reflect the committed changes.