diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-07-22 16:00:31 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-07-22 16:02:31 +0200 |
| commit | 4fd0cb7618ffb5428981672f6a21c411599f51b2 (patch) | |
| tree | 5181986990d5273db055b879fc7c138ce794dbcc /src/codegen/llvm.zig | |
| parent | 773863150a96fcb9ddb3eccb585d10342d10cb78 (diff) | |
| download | zig-4fd0cb7618ffb5428981672f6a21c411599f51b2.tar.gz zig-4fd0cb7618ffb5428981672f6a21c411599f51b2.zip | |
macho: sort nlists within object before filtering by type
Previously, we'd filter the nlists assuming they were correctly
ordered by type: local < extern defined < undefined within the
object's symbol table but this doesn't seem to be guaranteed,
therefore, we sort by type and address in one go, and filter
defined from undefined afterwards.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
