File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change 11
11
12
12
! Also check linker plugin opt for Thin LTO
13
13
! RUN: %flang -### -flto=thin %s 2>&1 | FileCheck %s \
14
- ! RUN: --check-prefixes=%if system-darwin %{THIN-LTO-ALL%} \
14
+ ! RUN: --check-prefixes=%if system-darwin || system-aix %{THIN-LTO-ALL%} \
15
15
! RUN: %else %{THIN-LTO-ALL,THIN-LTO-LINKER-PLUGIN%}
16
16
17
+ ! RUN: %flang -### -flto=thin --target=powerpc64-aix %s 2>&1 | FileCheck %s \
18
+ ! RUN: --check-prefix THIN-LTO-LINKER-AIX
19
+
17
20
! RUN: not %flang -### -S -flto=somelto %s 2>&1 | FileCheck %s --check-prefix=ERROR
18
21
19
22
! FC1 tests. Check that it does not crash.
31
34
! THIN-LTO-ALL: "-fc1"
32
35
! THIN-LTO-ALL-SAME: "-flto=thin"
33
36
! THIN-LTO-LINKER-PLUGIN: "-plugin-opt=thinlto"
37
+ ! THIN-LTO-LINKER-AIX: "-bdbg:thinlto"
34
38
35
39
! ERROR: error: unsupported argument 'somelto' to option '-flto=
You can’t perform that action at this time.
0 commit comments