Page MenuHomePhabricator

[llvm-install-name-tool] Guard isLoadCommandWithPayloadString

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



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.Mon, Jun 29, 7:07 AM
Herald added a project: Restricted Project. · View Herald Transcript
This revision is now accepted and ready to land.Mon, Jun 29, 7:43 AM
alexshap accepted this revision.Mon, Jun 29, 10:10 PM

Then I think we can abandon this revision @sameerarora101