File tree Expand file tree Collapse file tree 2 files changed +10
-10
lines changed
llvm/test/Instrumentation/AddressSanitizer Expand file tree Collapse file tree 2 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
- ; RUN: rm -rf %t && split-file %s %t && cd %t
2
- ; RUN: opt < a.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefix=CHECK %s
3
- ; RUN: opt < a.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-apple-macosx10.11.0 -S | FileCheck --check-prefix=CHECK %s
4
- ; RUN: opt < a.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-pc-windows-msvc19.0.24215 -S | FileCheck --check-prefix=CHECK %s
5
- ; RUN: opt < a.ll -passes=asan -asan-globals-live-support=0 -asan-mapping-scale=5 -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefixes=CHECK,CHECK-S5 %s
1
+ ; RUN: rm -rf %t && split-file %s %t
2
+ ; RUN: opt < %t/ a.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefix=CHECK %s
3
+ ; RUN: opt < %t/ a.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-apple-macosx10.11.0 -S | FileCheck --check-prefix=CHECK %s
4
+ ; RUN: opt < %t/ a.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-pc-windows-msvc19.0.24215 -S | FileCheck --check-prefix=CHECK %s
5
+ ; RUN: opt < %t/ a.ll -passes=asan -asan-globals-live-support=0 -asan-mapping-scale=5 -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefixes=CHECK,CHECK-S5 %s
6
6
7
- ; RUN: opt < empty.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefix=ELF-NOGC %s
7
+ ; RUN: opt < %t/ empty.ll -passes=asan -asan-globals-live-support=0 -mtriple=x86_64-unknown-linux-gnu -S | FileCheck --check-prefix=ELF-NOGC %s
8
8
9
9
;--- a.ll
10
10
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
Original file line number Diff line number Diff line change 4
4
; We keep using comdats for garbage collection if odr indicators are
5
5
; enabled as indicator symbols will cause link time odr violations.
6
6
; This is to fix PR 47925.
7
- ; RUN: rm -rf %t && split-file %s %t && cd %t
8
- ; RUN: opt < a.ll -passes=asan -asan-globals-live-support=1 -asan-use-odr-indicator=0 -S | FileCheck %s --check-prefixes=CHECK,NOCOMDAT
7
+ ; RUN: rm -rf %t && split-file %s %t
8
+ ; RUN: opt < %t/ a.ll -passes=asan -asan-globals-live-support=1 -asan-use-odr-indicator=0 -S | FileCheck %s --check-prefixes=CHECK,NOCOMDAT
9
9
; Check that enabling odr indicators enables comdat for globals.
10
- ; RUN: opt < a.ll -passes=asan -asan-globals-live-support=1 -S | FileCheck %s --check-prefixes=CHECK,COMDAT
10
+ ; RUN: opt < %t/ a.ll -passes=asan -asan-globals-live-support=1 -S | FileCheck %s --check-prefixes=CHECK,COMDAT
11
11
12
- ; RUN: opt < no_module_id.ll -passes=asan -S | FileCheck %s --check-prefix=NOMODULEID
12
+ ; RUN: opt < %t/ no_module_id.ll -passes=asan -S | FileCheck %s --check-prefix=NOMODULEID
13
13
14
14
;--- a.ll
15
15
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
You can’t perform that action at this time.
0 commit comments