[clang] [compiler-rt] [llvm] [TySan] A Type Sanitizer (Runtime Library) (PR #76261)

2025-01-09 Thread Mingjie Xu via cfe-commits
Enna1 wrote: > @fhahn can TySan be made to trap when it detects a problem? I tried > `-fsanitize-trap=type` but got: > > `clang++: error: unsupported argument 'type' to option '-fsanitize-trap='` > > `-fsanitize-trap=all` does not seem to result in TySan trapping, only > logging... `-fsaniti

[clang] [llvm] [tysan] Convert TySan from function+module pass to just module pass (PR #120667)

2025-01-07 Thread Mingjie Xu via cfe-commits
https://github.com/Enna1 updated https://github.com/llvm/llvm-project/pull/120667 >From 7cef5a275b176b8cf8703ae3b372637a1dded326 Mon Sep 17 00:00:00 2001 From: "xumingjie.enna1" Date: Thu, 19 Dec 2024 20:38:09 +0800 Subject: [PATCH 1/2] [tysan] Convert TySan from function+module pass to just m

[clang] [llvm] [tysan] Convert TySan from function+module pass to just module pass (PR #120667)

2024-12-30 Thread Mingjie Xu via cfe-commits
Enna1 wrote: @vitalybuka any comments ? :) https://github.com/llvm/llvm-project/pull/120667 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [llvm] [tysan] Convert TySan from function+module pass to just module pass (PR #120667)

2024-12-19 Thread Mingjie Xu via cfe-commits
https://github.com/Enna1 updated https://github.com/llvm/llvm-project/pull/120667 >From 7cef5a275b176b8cf8703ae3b372637a1dded326 Mon Sep 17 00:00:00 2001 From: "xumingjie.enna1" Date: Thu, 19 Dec 2024 20:38:09 +0800 Subject: [PATCH 1/2] [tysan] Convert TySan from function+module pass to just m

[clang] [llvm] [tysan] Convert TySan from function+module pass to just module pass (PR #120667)

2024-12-19 Thread Mingjie Xu via cfe-commits
https://github.com/Enna1 created https://github.com/llvm/llvm-project/pull/120667 As mentioned in https://github.com/llvm/llvm-project/pull/118989, all sanitizers but tsan are converted to just module pass for easier maintenance. This patch removes the TySan function pass, convert TySan from f