diff options
| author | David Rubin <daviru007@icloud.com> | 2025-02-24 03:49:45 -0800 |
|---|---|---|
| committer | David Rubin <87927264+Rexicon226@users.noreply.github.com> | 2025-02-25 11:22:33 -0800 |
| commit | ca83f52fd95fa6ebf28b7d51d4ef396a2ccf4be4 (patch) | |
| tree | e81e24fa172fdc72ee09efde50b9a6c4f04fa403 /test | |
| parent | 2447b87d98ee4b0fe13938c9b2acf2bb06cab572 (diff) | |
| download | zig-ca83f52fd95fa6ebf28b7d51d4ef396a2ccf4be4.tar.gz zig-ca83f52fd95fa6ebf28b7d51d4ef396a2ccf4be4.zip | |
ubsan: update wording
Diffstat (limited to 'test')
| -rw-r--r-- | test/link/elf.zig | 6 | ||||
| -rw-r--r-- | test/link/wasm/export-data/build.zig | 3 |
2 files changed, 6 insertions, 3 deletions
diff --git a/test/link/elf.zig b/test/link/elf.zig index 11286af455..60203f0a78 100644 --- a/test/link/elf.zig +++ b/test/link/elf.zig @@ -2049,7 +2049,8 @@ fn testLargeBss(b: *Build, opts: Options) *Step { \\} , &.{}); exe.linkLibC(); - // Disabled to work around an ELF linker bug. + // Disabled to work around the ELF linker crashing. + // Can be reproduced on a x86_64-linux host by commenting out the line below. exe.root_module.sanitize_c = false; const run = addRunArtifact(exe); @@ -3554,7 +3555,8 @@ fn testTlsLargeTbss(b: *Build, opts: Options) *Step { \\} , &.{}); exe.linkLibC(); - // Disabled to work around an ELF linker bug. + // Disabled to work around the ELF linker crashing. + // Can be reproduced on a x86_64-linux host by commenting out the line below. exe.root_module.sanitize_c = false; const run = addRunArtifact(exe); diff --git a/test/link/wasm/export-data/build.zig b/test/link/wasm/export-data/build.zig index 80ca1ebeea..1cddde208d 100644 --- a/test/link/wasm/export-data/build.zig +++ b/test/link/wasm/export-data/build.zig @@ -13,7 +13,8 @@ pub fn build(b: *std.Build) void { }), }); lib.entry = .disabled; - // Disabling due to self-hosted wasm linker bug. + // Disabled to work around the Wasm linker crashing. + // Can be reproduced by commenting out the line below. lib.bundle_ubsan_rt = false; lib.use_lld = false; lib.root_module.export_symbol_names = &.{ "foo", "bar" }; |
