authorgravatar for david@vortan.devDavid Rubin <david@vortan.dev> 2026-10-08 10:23:58-05:00
committergravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2026-10-10 09:08:54+02:00
logab1c01cfe2a84a357645692c3f9446d67278d1fd
tree25f8c9a4c15f344ae0e366c85af16792cf312c4b
parent20057b47d6e20059e8bb44e51f6cf5fd8e9534b6
signature Signed by SSH key SHA256:7B/LJ7bpR1eX8aCXSr4mtd5M45VMPKcx9zY8e95b5QM

Compilation: turn off ubsan sanitization of functions in trap mode


1 files changed, 3 insertions(+), 0 deletions(-)

src/Compilation.zig+3
......@@ -6579,6 +6579,9 @@ fn addCommonCCArgs(
65796579 .off => {},
65806580 .trap => {
65816581 try argv.append("-fsanitize-trap=undefined");
6582
6583 // Same reasoning as below.
6584 try argv.append("-fno-sanitize=function");
65826585 },
65836586 .full => {
65846587 // This check requires implementing the Itanium C++ ABI.