Skip to content

Commit 3a9ddee

Browse files
committed
review comments and fix that one outline test
1 parent 61d9c1f commit 3a9ddee

File tree

2 files changed

+4
-9
lines changed

2 files changed

+4
-9
lines changed

clang/test/CodeGen/sanitize-type-outlined.cpp

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
// UNSUPPORTED: target={{.*}}-windows-{{.*}}
22

33
// RUN: %clang -S -fsanitize=type -emit-llvm -o - -fsanitize=type %s \
4+
// RUN: -fno-sanitize-type-outline-instrumentation \
45
// RUN: | FileCheck %s --check-prefixes=CHECK-NO-OUTLINE
56
// RUN: %clang -S -fsanitize=type -emit-llvm -o - -fsanitize=type %s \
67
// RUN: -fsanitize-type-outline-instrumentation \
78
// RUN: | FileCheck %s --check-prefixes=CHECK-OUTLINE
89

9-
// RUN: %clang -S -fsanitize=type -emit-llvm -o - -fsanitize=type %s \
10-
// RUN: -fsanitize-type-outline-instrumentation \
11-
// RUN: -fsanitize-type-verify-outlined-instrumentation \
12-
// RUN: | FileCheck %s --check-prefixes=CHECK-OUTLINE
13-
// RUN: %clang -S -fsanitize=type -emit-llvm -o - -fsanitize=type %s \
14-
// RUN: -fsanitize-type-verify-outlined-instrumentation \
15-
// RUN: | FileCheck %s --check-prefixes=CHECK-OUTLINE
16-
1710
// CHECK-LABEL: @alias
1811
// CHECK: __tysan_app_memory_mask
1912
// CHECK: __tysan_shadow_memory_address

llvm/docs/ReleaseNotes.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,9 @@ Changes to BOLT
217217
Changes to Sanitizers
218218
---------------------
219219

220-
* TypeSanitizer no longer inlines all instrumentation by default
220+
* TypeSanitizer no longer inlines all instrumentation by default. Added the
221+
`-f[no-]sanitize-type-outline-instrumentation` flags to give users control
222+
over this behaviour.
221223

222224
Other Changes
223225
-------------

0 commit comments

Comments
 (0)