diff options
| author | Jakub Konka <kubkon@jakubkonka.com> | 2022-01-10 16:02:07 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-01-10 16:02:07 +0100 |
| commit | a4e6291fbdf83dec0d353af745c241bc7e01b3f2 (patch) | |
| tree | d7815bde6915af53e27531c5f1b3737c7fd61a5a /lib/std/process.zig | |
| parent | 42ef95d79d9cb60fde8c83bfb2eef49969e7c8e3 (diff) | |
| download | zig-a4e6291fbdf83dec0d353af745c241bc7e01b3f2.tar.gz zig-a4e6291fbdf83dec0d353af745c241bc7e01b3f2.zip | |
stage2: enable zig test on x86_64-macos (#10551)
* stage2: put decls in different MachO sections
Use `getDeclVAddrWithReloc` when targeting MachO backend rather than
`getDeclVAddr` - this fn returns a zero vaddr and instead creates a
relocation on the linker side which will get automatically updated
whenever the target decl is moved in memory. This fn also records
a rebase of the target pointer so that its value is correctly slid
in presence of ASLR.
This commit enables `zig test` on x86_64-macos.
* stage2: fix output section selection for type,val pairs
Diffstat (limited to 'lib/std/process.zig')
0 files changed, 0 insertions, 0 deletions
