[llvm] Disable santizers on constructors. (PR #111960)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 11 03:22:51 PDT 2024


================
@@ -433,6 +433,10 @@ bool llvm::lowerGlobalIFuncUsersAsGlobalCtor(
       FunctionType::get(Type::getVoidTy(Ctx), false), Function::InternalLinkage,
       DL.getProgramAddressSpace(), "", &M);
 
+  // Disable Sanitizers as they might not yet initilised when the contructor
----------------
arsenm wrote:

```suggestion
  // Disable Sanitizers as they might not yet initialized when the contructor
```

https://github.com/llvm/llvm-project/pull/111960


More information about the llvm-commits mailing list