[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


================
@@ -196,3 +196,4 @@ define i32 @call_used_in_initializer(double %arg) {
 ; CHECK-FINAL-NEXT: store ptr %8, ptr getelementptr inbounds ([8 x ptr], ptr @0, i32 0, i32 7), align 8
 ; CHECK-FINAL-NEXT: ret void
 ; CHECK-FINAL-NEXT: }
+; CHECK-FINAL-DAG: attributes #[[#CONSTRUCTOR_ATTR]] = {{{.*}} disable_sanitizer_instrumentation {{.*}}
----------------
arsenm wrote:

Missing newline at end of file

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


More information about the llvm-commits mailing list