[all-commits] [llvm/llvm-project] c966ed: [llvm-objcopy][MachO] Fix cmdsize of LC_RPATH
Alexander Shaposhnikov via All-commits
all-commits at lists.llvm.org
Thu Jun 11 20:34:47 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c966ed8dc7ce7629c4371314e5ec2119b84e852c
https://github.com/llvm/llvm-project/commit/c966ed8dc7ce7629c4371314e5ec2119b84e852c
Author: Alexander Shaposhnikov <alexshap at fb.com>
Date: 2020-06-11 (Thu, 11 Jun 2020)
Changed paths:
M llvm/test/tools/llvm-objcopy/MachO/install-name-tool-add-rpath.test
M llvm/tools/llvm-objcopy/MachO/MachOObjcopy.cpp
Log Message:
-----------
[llvm-objcopy][MachO] Fix cmdsize of LC_RPATH
Fix the calculation of the field cmdsize (in the function buildRPathLoadCommand)
to account for the null byte terminator.
Patch by Sameer Arora!
Test plan: make check-all
Differential revision: https://reviews.llvm.org/D81575
More information about the All-commits
mailing list