This is an archive of the discontinued LLVM Phabricator instance.

Fix lld build error
ClosedPublic

Authored by sbc100 on Jun 19 2017, 10:04 PM.

Details

Summary

The lld-x86_64-darwin13 is failing with:
error: unused function 'operator<<'

Wrap the declation in ifndef NDEBUG, which matches
is done in MipsELFObjectWriter.cpp.

Event Timeline

sbc100 created this revision.Jun 19 2017, 10:04 PM
This revision was automatically updated to reflect the committed changes.