Skip to content

Commit 980e31d

Browse files
committed
follow convention: move lit commands to start of backend unit test
1 parent 2f544df commit 980e31d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/test/Instrumentation/AddressSanitizer/asan-win-dont-instrument-catchpad.ll

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
; RUN: opt < %s -passes=asan -S | FileCheck %s
2+
; CHECK: %ex = alloca i32, align 4
3+
; CHECK: catchpad within %{{.*}} [ptr @"??_R0H@8", i32 0, ptr %ex]
4+
15
; This test ensures that catch parameters are not instrumented on Windows.
26

37
; This file was generated using the following source
@@ -28,10 +32,6 @@
2832
; unnecessary metadata, and manually adding the `sanitize_address` annotation;
2933
; needed for the ASan pass to run.
3034

31-
; RUN: opt < %s -passes=asan -S | FileCheck %s
32-
; CHECK: %ex = alloca i32, align 4
33-
; CHECK: catchpad within %{{.*}} [ptr @"??_R0H@8", i32 0, ptr %ex]
34-
3535
target triple = "x86_64-pc-windows-msvc"
3636

3737
@"??_R0H@8" = external global ptr

0 commit comments

Comments
 (0)