aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
diff options
context:
space:
mode:
authorDaniel Rodríguez Troitiño <danielrodriguez@fb.com>2021-07-20 16:40:47 -0700
committerDaniel Rodríguez Troitiño <danielrodriguez@fb.com>2021-07-28 17:35:26 -0700
commitd6704e5ed91478464e551ee9d5520584978553ee (patch)
tree43de65c720180f58a769d8840d9d04e1046e56aa /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp
parent5a333dc5da9fac3407b78d52ad3bc18049f8a73b (diff)
downloadllvm-d6704e5ed91478464e551ee9d5520584978553ee.zip
llvm-d6704e5ed91478464e551ee9d5520584978553ee.tar.gz
llvm-d6704e5ed91478464e551ee9d5520584978553ee.tar.bz2
[llvm-objcopy][MachO] Ignore all LC_SUB_* commands.
The LC_SUB_FRAMEWORK, LC_SUB_UMBRELLA, LC_SUB_CLIENT, and LC_SUB_LIBRARY are used to indicate related libraries, binaries or framework names. Their only payload is the string with the name of the object. Adding those commands to the list of ignored/skipped load commands will avoid an error that stop the process of copying/stripping and will copy their contents verbatim. Additionally, in order to have a test for this case, `yaml2obj` now allows those four commands to contain a `Content`. Differential Revision: https://reviews.llvm.org/D106412
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions