The code which validates the value of -id is moved into the function parseInstallNameToolOptions.
Test plan: make check-all
Paths
| Differential D87855
[llvm-install-name-tool] Validate -id value early ClosedPublic Authored by alexander-shaposhnikov on Sep 17 2020, 1:39 PM.
Details Summary 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 This revision is now accepted and ready to land.Sep 17 2020, 4:12 PM 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. This revision was landed with ongoing or failed builds.Sep 18 2020, 6:03 PM Closed by commit rGe9f9027c3c07: [llvm-install-name-tool] Validate -id value early (authored by alexander-shaposhnikov). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 292608 llvm/tools/llvm-objcopy/CopyConfig.cpp
llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
|
clang-format: please reformat the code