diff options
author | Alexander Shaposhnikov <alexshap@fb.com> | 2020-04-26 22:39:50 -0700 |
---|---|---|
committer | Alexander Shaposhnikov <alexshap@fb.com> | 2020-04-27 17:59:07 -0700 |
commit | 0db3a5a93e113d681e78ea5f7dd8cd1020d02a7b (patch) | |
tree | 249229e62eca180735bed7b4134f2b1ee4e7944a /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | bc0342383dde329ab2bb07085900a533f0c053db (diff) | |
download | llvm-0db3a5a93e113d681e78ea5f7dd8cd1020d02a7b.zip llvm-0db3a5a93e113d681e78ea5f7dd8cd1020d02a7b.tar.gz llvm-0db3a5a93e113d681e78ea5f7dd8cd1020d02a7b.tar.bz2 |
[llvm-objcopy][MachO] Handle relocation entries where r_extern is zero
Fix handling of relocations with r_extern == 0.
If r_extern == 0 then r_symbolnum is an index of a section rather than a symbol index.
Patch by Seiya Nuta and Alexander Shaposhnikov.
Test plan: make check-all
Differential revision: https://reviews.llvm.org/D78946
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions