ubsan: update wording

This commit is contained in:
David Rubin
2025-02-24 03:49:45 -08:00
committed by David Rubin
parent 2447b87d98
commit ca83f52fd9
3 changed files with 14 additions and 8 deletions

View File

@@ -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);

View File

@@ -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" };