diff options
author | Keith Smiley <keithbsmiley@gmail.com> | 2022-01-28 20:06:51 -0800 |
---|---|---|
committer | Keith Smiley <keithbsmiley@gmail.com> | 2022-01-31 15:49:06 -0800 |
commit | 7a836ba3c5f2bdbd8b802a205f21b477ef91963d (patch) | |
tree | 5b568f3aa437ace00fbfe683581d471675f764c4 /llvm/lib/Transforms/Utils/ModuleUtils.cpp | |
parent | 2d5f857a1eaf5f7a806d12953c79b96ed8952da8 (diff) | |
download | llvm-7a836ba3c5f2bdbd8b802a205f21b477ef91963d.zip llvm-7a836ba3c5f2bdbd8b802a205f21b477ef91963d.tar.gz llvm-7a836ba3c5f2bdbd8b802a205f21b477ef91963d.tar.bz2 |
[llvm-objcopy][MachO] Ignore LC_LINKER_OPTION when redefining symbols
Previously you would get this error:
```
error: unsupported load command (cmd=0x2d)
```
If the binary you were redefining the symbols of contained a
LC_LINKER_OPTION load command. This command does not need to be changed
when redefining symbols so we can ignore it like many others.
Differential Revision: https://reviews.llvm.org/D118526
Diffstat (limited to 'llvm/lib/Transforms/Utils/ModuleUtils.cpp')
0 files changed, 0 insertions, 0 deletions