Skip to content

Commit

Permalink
[test][msan] Reformat RUN lines
Browse files Browse the repository at this point in the history
  • Loading branch information
vitalybuka committed Nov 14, 2023
1 parent c66844d commit 60f740a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions compiler-rt/test/msan/vararg.cpp
Original file line number Diff line number Diff line change
@@ -1,18 +1,12 @@
// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=0 -O3 %s -o %t && \
// RUN: not %run %t va_arg_tls >%t.out 2>&1
// RUN: FileCheck %s --check-prefix=CHECK < %t.out
// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=0 -O3 %s -o %t

// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=0 -O3 %s -o %t && \
// RUN: not %run %t overflow >%t.out 2>&1
// RUN: FileCheck %s --check-prefix=CHECK < %t.out
// RUN: not %run %t va_arg_tls 2>&1 | FileCheck %s --check-prefix=CHECK
// RUN: not %run %t overflow 2>&1 | FileCheck %s --check-prefix=CHECK

// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=2 -O3 %s -o %t && \
// RUN: not %run %t va_arg_tls >%t.out 2>&1
// RUN: FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN < %t.out
// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=2 -O3 %s -o %t

// RUN: %clangxx_msan -fno-sanitize-memory-param-retval -fsanitize-memory-track-origins=2 -O3 %s -o %t && \
// RUN: not %run %t overflow >%t.out 2>&1
// RUN: FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN < %t.out
// RUN: not %run %t va_arg_tls 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN
// RUN: not %run %t overflow 2>&1 | FileCheck %s --check-prefixes=CHECK,CHECK-ORIGIN

// Check that shadow and origin are passed through va_args.

Expand Down

0 comments on commit 60f740a

Please sign in to comment.