diff options
| author | Fangrui Song <i@maskray.me> | 2019-11-19 17:27:25 -0800 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2019-11-21 09:30:46 -0800 |
| commit | 242002770ba00516339875a064f9ae0efd78a8dc (patch) | |
| tree | 467e4d250b3fd753f6159bf8f02e54bd61f75e03 /llvm/lib/MC/ConstantPools.cpp | |
| parent | 898de302919b3caf09b820757c58190cd8621255 (diff) | |
| download | bcm5719-llvm-242002770ba00516339875a064f9ae0efd78a8dc.tar.gz bcm5719-llvm-242002770ba00516339875a064f9ae0efd78a8dc.zip | |
[llvm-objcopy][MachO] Fix symbol order in the symbol table
Only consider isUndefinedSymbol() when the symbol is not local. This
fixes an assert failure when copying the symbol table, if a n_type=0x20
symbol is followed by a n_type=0x64 symbol.
Reviewed By: alexshap, seiya
Differential Revision: https://reviews.llvm.org/D70475
Diffstat (limited to 'llvm/lib/MC/ConstantPools.cpp')
0 files changed, 0 insertions, 0 deletions

