This is an archive of the discontinued LLVM Phabricator instance.

[libunwind] Make HIDDEN_DIRECTIVE a function-like macro. NFCI.
ClosedPublic

Authored by mstorsjo on Oct 20 2017, 11:01 PM.

Details

Summary

This avoids a hack for making it a no-op for windows.

Also explicitly check for _WIN32 instead of assuming it.

Diff Detail

Event Timeline

mstorsjo created this revision.Oct 20 2017, 11:01 PM
mstorsjo edited the summary of this revision. (Show Details)Oct 20 2017, 11:05 PM
compnerd accepted this revision.Oct 21 2017, 7:19 PM

Thanks for cleaning this up. IIRC, I have similar behavior in compiler-rt for HIDDEN_SYMBOL.

This revision is now accepted and ready to land.Oct 21 2017, 7:19 PM
This revision was automatically updated to reflect the committed changes.