This is an archive of the discontinued LLVM Phabricator instance.

[llvm-install-name-tool] Guard isLoadCommandWithPayloadString
AbandonedPublic

Authored by sameerarora101 on Jun 29 2020, 7:07 AM.

Details

Summary

isLoadCommandWithPayloadString is only used by asserts and is thus
never used in release mode. To avoid the warning `warning: unused
function 'isLoadCommandWithPayloadString'`, I have guarded the function
with #ifdef NDEBUG ... #endif

Diff Detail

Event Timeline

sameerarora101 created this revision.Jun 29 2020, 7:07 AM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Jun 29 2020, 7:43 AM
In D82768#2121865, @alexshap wrote:

Then I think we can abandon this revision @sameerarora101