diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2021-10-24 16:57:00 +0200 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2021-10-24 21:01:04 +0200 |
| commit | 6cf5305e47dd8382508f867b04067be615448b41 (patch) | |
| tree | 3c70af183ca2fbf4151ce15b5a90ba5e30148241 /src/codegen | |
| parent | f80fd7e1a6bd3d4f9094301a3815909ce64a3696 (diff) | |
| download | zig-6cf5305e47dd8382508f867b04067be615448b41.tar.gz zig-6cf5305e47dd8382508f867b04067be615448b41.zip | |
macho: remove unresolved ref in the correct place
* without this, when an included relocatable references a common symbol
from another translation unit would not be correctly removed from
the unresolved lookup table triggering a misleading assertion down
the line
* assert upon removal that we indeed removed a ref instead of silently
ignoring in debug
* add test case that covers this issue
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
