From 28c6781a3215a36d61126818c3e64c99c2344350 Mon Sep 17 00:00:00 2001 From: Ben Gamari Date: Fri, 4 Nov 2022 20:37:31 -0400 Subject: codeGen: Introduce ThreadSanitizer instrumentation This introduces a new Cmm pass which instruments the program with ThreadSanitizer annotations, allowing full tracking of mutator memory accesses via TSAN. --- compiler/ghc.cabal.in | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/ghc.cabal.in') diff --git a/compiler/ghc.cabal.in b/compiler/ghc.cabal.in index 3ad8271127..4b66f8dc33 100644 --- a/compiler/ghc.cabal.in +++ b/compiler/ghc.cabal.in @@ -214,6 +214,7 @@ Library GHC.Cmm.Sink GHC.Cmm.Switch GHC.Cmm.Switch.Implement + GHC.Cmm.ThreadSanitizer GHC.CmmToAsm GHC.Cmm.LRegSet GHC.CmmToAsm.AArch64 -- cgit v1.2.1