The code which validates the value of -id is moved into the function parseInstallNameToolOptions.
Test plan: make check-all
Differential D87855
[llvm-install-name-tool] Validate -id value early alexander-shaposhnikov on Sep 17 2020, 1:39 PM. Authored by
Details The code which validates the value of -id is moved into the function parseInstallNameToolOptions. Test plan: make check-all
Diff Detail
Event TimelineComment Actions Looks like llvm/test/tools/llvm-objcopy/MachO/install-name-tool-id.test covers this, so LGTM Comment Actions I guess if you wanted to add explicit testing that the behaviour happens regardless of the presence of specific load commands, that would be possible, using a minimal Mach-O file, but I don't mind if you don't want to. LGTM, if you don't. |