annotate clang/test/Driver/mips-fsf.cpp @ 150:1d019706d866

LLVM10
author anatofuz
date Thu, 13 Feb 2020 15:10:13 +0900
parents
children c4bab56944e8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
150
anatofuz
parents:
diff changeset
1 // REQUIRES: mips-registered-target
anatofuz
parents:
diff changeset
2
anatofuz
parents:
diff changeset
3 // Check frontend and linker invocations on FSF MIPS toolchain.
anatofuz
parents:
diff changeset
4 //
anatofuz
parents:
diff changeset
5 // = Big-endian, mips32, hard float
anatofuz
parents:
diff changeset
6 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
7 // RUN: --target=mips-mti-linux-gnu -mips32 -mhard-float \
anatofuz
parents:
diff changeset
8 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
9 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-32 %s
anatofuz
parents:
diff changeset
10 // CHECK-BE-HF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
11 // CHECK-BE-HF-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
12 // CHECK-BE-HF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
13 // CHECK-BE-HF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32"
anatofuz
parents:
diff changeset
14 // CHECK-BE-HF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
15 // CHECK-BE-HF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
16 // CHECK-BE-HF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
17 // CHECK-BE-HF-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
18 // CHECK-BE-HF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
19 // CHECK-BE-HF-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
20 // CHECK-BE-HF-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
21 // CHECK-BE-HF-32: "--sysroot=[[TC]]/../../../../sysroot/mips32"
anatofuz
parents:
diff changeset
22 // CHECK-BE-HF-32: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
23 // CHECK-BE-HF-32: "[[TC]]/../../../../sysroot/mips32/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
24 // CHECK-BE-HF-32: "[[TC]]/../../../../sysroot/mips32/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
25 // CHECK-BE-HF-32: "[[TC]]/mips32{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
26 // CHECK-BE-HF-32: "-L[[TC]]/mips32"
anatofuz
parents:
diff changeset
27 // CHECK-BE-HF-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32"
anatofuz
parents:
diff changeset
28 // CHECK-BE-HF-32: "-L[[TC]]/../../../../sysroot/mips32/usr/lib/../lib"
anatofuz
parents:
diff changeset
29 // CHECK-BE-HF-32: "[[TC]]/mips32{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
30 // CHECK-BE-HF-32: "[[TC]]/../../../../sysroot/mips32/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
31 //
anatofuz
parents:
diff changeset
32 // = Big-endian, mips32, hard float, fp64
anatofuz
parents:
diff changeset
33 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
34 // RUN: --target=mips-mti-linux-gnu -mips32 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
35 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
36 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-32 %s
anatofuz
parents:
diff changeset
37 // CHECK-BE-HF64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
38 // CHECK-BE-HF64-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
39 // CHECK-BE-HF64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
40 // CHECK-BE-HF64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32"
anatofuz
parents:
diff changeset
41 // CHECK-BE-HF64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
42 // CHECK-BE-HF64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
43 // CHECK-BE-HF64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
44 // CHECK-BE-HF64-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
45 // CHECK-BE-HF64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
46 // CHECK-BE-HF64-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
47 // CHECK-BE-HF64-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
48 // CHECK-BE-HF64-32: "--sysroot=[[TC]]/../../../../sysroot/mips32"
anatofuz
parents:
diff changeset
49 // CHECK-BE-HF64-32: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
50 // CHECK-BE-HF64-32: "[[TC]]/../../../../sysroot/mips32/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
51 // CHECK-BE-HF64-32: "[[TC]]/../../../../sysroot/mips32/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
52 // CHECK-BE-HF64-32: "[[TC]]/mips32{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
53 // CHECK-BE-HF64-32: "-L[[TC]]/mips32"
anatofuz
parents:
diff changeset
54 // CHECK-BE-HF64-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32"
anatofuz
parents:
diff changeset
55 // CHECK-BE-HF64-32: "-L[[TC]]/../../../../sysroot/mips32/usr/lib/../lib"
anatofuz
parents:
diff changeset
56 // CHECK-BE-HF64-32: "[[TC]]/mips32{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
57 // CHECK-BE-HF64-32: "[[TC]]/../../../../sysroot/mips32/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
58 //
anatofuz
parents:
diff changeset
59 // = Big-endian, mips32, soft float
anatofuz
parents:
diff changeset
60 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
61 // RUN: --target=mips-mti-linux-gnu -mips32 -msoft-float \
anatofuz
parents:
diff changeset
62 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
63 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-32 %s
anatofuz
parents:
diff changeset
64 // CHECK-BE-SF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
65 // CHECK-BE-SF-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
66 // CHECK-BE-SF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
67 // CHECK-BE-SF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/sof"
anatofuz
parents:
diff changeset
68 // CHECK-BE-SF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
69 // CHECK-BE-SF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
70 // CHECK-BE-SF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
71 // CHECK-BE-SF-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
72 // CHECK-BE-SF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
73 // CHECK-BE-SF-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
74 // CHECK-BE-SF-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
75 // CHECK-BE-SF-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/sof"
anatofuz
parents:
diff changeset
76 // CHECK-BE-SF-32: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
77 // CHECK-BE-SF-32: "[[TC]]/../../../../sysroot/mips32/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
78 // CHECK-BE-SF-32: "[[TC]]/../../../../sysroot/mips32/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
79 // CHECK-BE-SF-32: "[[TC]]/mips32/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
80 // CHECK-BE-SF-32: "-L[[TC]]/mips32/sof"
anatofuz
parents:
diff changeset
81 // CHECK-BE-SF-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/sof"
anatofuz
parents:
diff changeset
82 // CHECK-BE-SF-32: "-L[[TC]]/../../../../sysroot/mips32/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
83 // CHECK-BE-SF-32: "[[TC]]/mips32/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
84 // CHECK-BE-SF-32: "[[TC]]/../../../../sysroot/mips32/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
85 //
anatofuz
parents:
diff changeset
86 // = Big-endian, mips16 / mips32, hard float
anatofuz
parents:
diff changeset
87 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
88 // RUN: --target=mips-mti-linux-gnu -mips32 -mips16 -mhard-float \
anatofuz
parents:
diff changeset
89 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
90 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-16 %s
anatofuz
parents:
diff changeset
91 // CHECK-BE-HF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
92 // CHECK-BE-HF-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
93 // CHECK-BE-HF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
94 // CHECK-BE-HF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16"
anatofuz
parents:
diff changeset
95 // CHECK-BE-HF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
96 // CHECK-BE-HF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
97 // CHECK-BE-HF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
98 // CHECK-BE-HF-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
99 // CHECK-BE-HF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
100 // CHECK-BE-HF-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
101 // CHECK-BE-HF-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
102 // CHECK-BE-HF-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16"
anatofuz
parents:
diff changeset
103 // CHECK-BE-HF-16: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
104 // CHECK-BE-HF-16: "[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
105 // CHECK-BE-HF-16: "[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
106 // CHECK-BE-HF-16: "[[TC]]/mips32/mips16{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
107 // CHECK-BE-HF-16: "-L[[TC]]/mips32/mips16"
anatofuz
parents:
diff changeset
108 // CHECK-BE-HF-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16"
anatofuz
parents:
diff changeset
109 // CHECK-BE-HF-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib"
anatofuz
parents:
diff changeset
110 // CHECK-BE-HF-16: "[[TC]]/mips32/mips16{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
111 // CHECK-BE-HF-16: "[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
112 //
anatofuz
parents:
diff changeset
113 // = Big-endian, mips16 / mips32, hard float, fp64
anatofuz
parents:
diff changeset
114 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
115 // RUN: --target=mips-mti-linux-gnu -mips32 -mips16 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
116 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
117 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-16 %s
anatofuz
parents:
diff changeset
118 // CHECK-BE-HF64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
119 // CHECK-BE-HF64-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
120 // CHECK-BE-HF64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
121 // CHECK-BE-HF64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16"
anatofuz
parents:
diff changeset
122 // CHECK-BE-HF64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
123 // CHECK-BE-HF64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
124 // CHECK-BE-HF64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
125 // CHECK-BE-HF64-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
126 // CHECK-BE-HF64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
127 // CHECK-BE-HF64-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
128 // CHECK-BE-HF64-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
129 // CHECK-BE-HF64-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16"
anatofuz
parents:
diff changeset
130 // CHECK-BE-HF64-16: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
131 // CHECK-BE-HF64-16: "[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
132 // CHECK-BE-HF64-16: "[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
133 // CHECK-BE-HF64-16: "[[TC]]/mips32/mips16{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
134 // CHECK-BE-HF64-16: "-L[[TC]]/mips32/mips16"
anatofuz
parents:
diff changeset
135 // CHECK-BE-HF64-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16"
anatofuz
parents:
diff changeset
136 // CHECK-BE-HF64-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib"
anatofuz
parents:
diff changeset
137 // CHECK-BE-HF64-16: "[[TC]]/mips32/mips16{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
138 // CHECK-BE-HF64-16: "[[TC]]/../../../../sysroot/mips32/mips16/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
139 //
anatofuz
parents:
diff changeset
140 // = Big-endian, mips16 / mips32, soft float
anatofuz
parents:
diff changeset
141 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
142 // RUN: --target=mips-mti-linux-gnu -mips32 -mips16 -msoft-float \
anatofuz
parents:
diff changeset
143 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
144 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-16 %s
anatofuz
parents:
diff changeset
145 // CHECK-BE-SF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
146 // CHECK-BE-SF-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
147 // CHECK-BE-SF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
148 // CHECK-BE-SF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/sof"
anatofuz
parents:
diff changeset
149 // CHECK-BE-SF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
150 // CHECK-BE-SF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
151 // CHECK-BE-SF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
152 // CHECK-BE-SF-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
153 // CHECK-BE-SF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
154 // CHECK-BE-SF-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
155 // CHECK-BE-SF-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
156 // CHECK-BE-SF-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/sof"
anatofuz
parents:
diff changeset
157 // CHECK-BE-SF-16: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
158 // CHECK-BE-SF-16: "[[TC]]/../../../../sysroot/mips32/mips16/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
159 // CHECK-BE-SF-16: "[[TC]]/../../../../sysroot/mips32/mips16/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
160 // CHECK-BE-SF-16: "[[TC]]/mips32/mips16/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
161 // CHECK-BE-SF-16: "-L[[TC]]/mips32/mips16/sof"
anatofuz
parents:
diff changeset
162 // CHECK-BE-SF-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/sof"
anatofuz
parents:
diff changeset
163 // CHECK-BE-SF-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
164 // CHECK-BE-SF-16: "[[TC]]/mips32/mips16/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
165 // CHECK-BE-SF-16: "[[TC]]/../../../../sysroot/mips32/mips16/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
166 //
anatofuz
parents:
diff changeset
167 // = Big-endian, mips32 / mips16, nan2008
anatofuz
parents:
diff changeset
168 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
169 // RUN: --target=mips-mti-linux-gnu -mips32 -mips16 -mnan=2008 \
anatofuz
parents:
diff changeset
170 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
171 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-16 %s
anatofuz
parents:
diff changeset
172 // CHECK-BE-NAN-16: "-internal-isystem"
anatofuz
parents:
diff changeset
173 // CHECK-BE-NAN-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
174 // CHECK-BE-NAN-16: "-internal-isystem"
anatofuz
parents:
diff changeset
175 // CHECK-BE-NAN-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
176 // CHECK-BE-NAN-16: "-internal-isystem"
anatofuz
parents:
diff changeset
177 // CHECK-BE-NAN-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
178 // CHECK-BE-NAN-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
179 // CHECK-BE-NAN-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
180 // CHECK-BE-NAN-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
181 // CHECK-BE-NAN-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
182 // CHECK-BE-NAN-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
183 // CHECK-BE-NAN-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
184 // CHECK-BE-NAN-16: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
185 // CHECK-BE-NAN-16: "[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
186 // CHECK-BE-NAN-16: "[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
187 // CHECK-BE-NAN-16: "[[TC]]/mips32/mips16/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
188 // CHECK-BE-NAN-16: "-L[[TC]]/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
189 // CHECK-BE-NAN-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
190 // CHECK-BE-NAN-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
191 // CHECK-BE-NAN-16: "[[TC]]/mips32/mips16/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
192 // CHECK-BE-NAN-16: "[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
193 //
anatofuz
parents:
diff changeset
194 // = Big-endian, mips32 / mips16, fp64, nan2008
anatofuz
parents:
diff changeset
195 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
196 // RUN: --target=mips-mti-linux-gnu -mips32 -mips16 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
197 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
198 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-16 %s
anatofuz
parents:
diff changeset
199 // CHECK-BE-NAN64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
200 // CHECK-BE-NAN64-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
201 // CHECK-BE-NAN64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
202 // CHECK-BE-NAN64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
203 // CHECK-BE-NAN64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
204 // CHECK-BE-NAN64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
205 // CHECK-BE-NAN64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
206 // CHECK-BE-NAN64-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
207 // CHECK-BE-NAN64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
208 // CHECK-BE-NAN64-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
209 // CHECK-BE-NAN64-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
210 // CHECK-BE-NAN64-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
211 // CHECK-BE-NAN64-16: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
212 // CHECK-BE-NAN64-16: "[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
213 // CHECK-BE-NAN64-16: "[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
214 // CHECK-BE-NAN64-16: "[[TC]]/mips32/mips16/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
215 // CHECK-BE-NAN64-16: "-L[[TC]]/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
216 // CHECK-BE-NAN64-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/nan2008"
anatofuz
parents:
diff changeset
217 // CHECK-BE-NAN64-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
218 // CHECK-BE-NAN64-16: "[[TC]]/mips32/mips16/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
219 // CHECK-BE-NAN64-16: "[[TC]]/../../../../sysroot/mips32/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
220 //
anatofuz
parents:
diff changeset
221 // = Big-endian, mips32, nan2008
anatofuz
parents:
diff changeset
222 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
223 // RUN: --target=mips-mti-linux-gnu -mips32 -mnan=2008 \
anatofuz
parents:
diff changeset
224 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
225 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-32 %s
anatofuz
parents:
diff changeset
226 // CHECK-BE-NAN-32: "-internal-isystem"
anatofuz
parents:
diff changeset
227 // CHECK-BE-NAN-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
228 // CHECK-BE-NAN-32: "-internal-isystem"
anatofuz
parents:
diff changeset
229 // CHECK-BE-NAN-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/nan2008"
anatofuz
parents:
diff changeset
230 // CHECK-BE-NAN-32: "-internal-isystem"
anatofuz
parents:
diff changeset
231 // CHECK-BE-NAN-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
232 // CHECK-BE-NAN-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
233 // CHECK-BE-NAN-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
234 // CHECK-BE-NAN-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
235 // CHECK-BE-NAN-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
236 // CHECK-BE-NAN-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
237 // CHECK-BE-NAN-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/nan2008"
anatofuz
parents:
diff changeset
238 // CHECK-BE-NAN-32: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
239 // CHECK-BE-NAN-32: "[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
240 // CHECK-BE-NAN-32: "[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
241 // CHECK-BE-NAN-32: "[[TC]]/mips32/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
242 // CHECK-BE-NAN-32: "-L[[TC]]/mips32/nan2008"
anatofuz
parents:
diff changeset
243 // CHECK-BE-NAN-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/nan2008"
anatofuz
parents:
diff changeset
244 // CHECK-BE-NAN-32: "-L[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
245 // CHECK-BE-NAN-32: "[[TC]]/mips32/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
246 // CHECK-BE-NAN-32: "[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
247 //
anatofuz
parents:
diff changeset
248 // = Big-endian, mips32, fp64, nan2008
anatofuz
parents:
diff changeset
249 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
250 // RUN: --target=mips-mti-linux-gnu -mips32 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
251 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
252 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-32 %s
anatofuz
parents:
diff changeset
253 // CHECK-BE-NAN64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
254 // CHECK-BE-NAN64-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
255 // CHECK-BE-NAN64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
256 // CHECK-BE-NAN64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/nan2008"
anatofuz
parents:
diff changeset
257 // CHECK-BE-NAN64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
258 // CHECK-BE-NAN64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
259 // CHECK-BE-NAN64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
260 // CHECK-BE-NAN64-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
261 // CHECK-BE-NAN64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
262 // CHECK-BE-NAN64-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
263 // CHECK-BE-NAN64-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
264 // CHECK-BE-NAN64-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/nan2008"
anatofuz
parents:
diff changeset
265 // CHECK-BE-NAN64-32: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
266 // CHECK-BE-NAN64-32: "[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
267 // CHECK-BE-NAN64-32: "[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
268 // CHECK-BE-NAN64-32: "[[TC]]/mips32/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
269 // CHECK-BE-NAN64-32: "-L[[TC]]/mips32/nan2008"
anatofuz
parents:
diff changeset
270 // CHECK-BE-NAN64-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/nan2008"
anatofuz
parents:
diff changeset
271 // CHECK-BE-NAN64-32: "-L[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
272 // CHECK-BE-NAN64-32: "[[TC]]/mips32/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
273 // CHECK-BE-NAN64-32: "[[TC]]/../../../../sysroot/mips32/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
274 //
anatofuz
parents:
diff changeset
275 // = Big-endian, mips32r2, hard float
anatofuz
parents:
diff changeset
276 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
277 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mhard-float \
anatofuz
parents:
diff changeset
278 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
279 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-32R2 %s
anatofuz
parents:
diff changeset
280 // CHECK-BE-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
281 // CHECK-BE-HF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
282 // CHECK-BE-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
283 // CHECK-BE-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu"
anatofuz
parents:
diff changeset
284 // CHECK-BE-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
285 // CHECK-BE-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
286 // CHECK-BE-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
287 // CHECK-BE-HF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
288 // CHECK-BE-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
289 // CHECK-BE-HF-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
290 // CHECK-BE-HF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
291 // CHECK-BE-HF-32R2: "--sysroot=[[TC]]/../../../../sysroot"
anatofuz
parents:
diff changeset
292 // CHECK-BE-HF-32R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
293 // CHECK-BE-HF-32R2: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
294 // CHECK-BE-HF-32R2: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
295 // CHECK-BE-HF-32R2: "[[TC]]{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
296 // CHECK-BE-HF-32R2: "-L[[TC]]"
anatofuz
parents:
diff changeset
297 // CHECK-BE-HF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib"
anatofuz
parents:
diff changeset
298 // CHECK-BE-HF-32R2: "-L[[TC]]/../../../../sysroot/usr/lib/../lib"
anatofuz
parents:
diff changeset
299 // CHECK-BE-HF-32R2: "[[TC]]{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
300 // CHECK-BE-HF-32R2: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
301 //
anatofuz
parents:
diff changeset
302 // = Big-endian, mips32r2, hard float, uclibc
anatofuz
parents:
diff changeset
303 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
304 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mhard-float -muclibc \
anatofuz
parents:
diff changeset
305 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
306 // RUN: | FileCheck --check-prefix=CHECK-BE-UC-HF-32R2 %s
anatofuz
parents:
diff changeset
307 // CHECK-BE-UC-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
308 // CHECK-BE-UC-HF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
309 // CHECK-BE-UC-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
310 // CHECK-BE-UC-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc"
anatofuz
parents:
diff changeset
311 // CHECK-BE-UC-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
312 // CHECK-BE-UC-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
313 // CHECK-BE-UC-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
314 // CHECK-BE-UC-HF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
315 // CHECK-BE-UC-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
316 // CHECK-BE-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/include"
anatofuz
parents:
diff changeset
317 // CHECK-BE-UC-HF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
318 // CHECK-BE-UC-HF-32R2: "--sysroot=[[TC]]/../../../../sysroot/uclibc"
anatofuz
parents:
diff changeset
319 // CHECK-BE-UC-HF-32R2: "-dynamic-linker" "/lib/ld-uClibc.so.0"
anatofuz
parents:
diff changeset
320 // CHECK-BE-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
321 // CHECK-BE-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
322 // CHECK-BE-UC-HF-32R2: "[[TC]]/uclibc{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
323 // CHECK-BE-UC-HF-32R2: "-L[[TC]]/uclibc"
anatofuz
parents:
diff changeset
324 // CHECK-BE-UC-HF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/uclibc"
anatofuz
parents:
diff changeset
325 // CHECK-BE-UC-HF-32R2: "-L[[TC]]/../../../../sysroot/uclibc/usr/lib/../lib"
anatofuz
parents:
diff changeset
326 // CHECK-BE-UC-HF-32R2: "[[TC]]/uclibc{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
327 // CHECK-BE-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
328 //
anatofuz
parents:
diff changeset
329 // = Big-endian, mips32r2, fp64, hard float
anatofuz
parents:
diff changeset
330 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
331 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
332 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
333 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-32R2 %s
anatofuz
parents:
diff changeset
334 // CHECK-BE-HF64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
335 // CHECK-BE-HF64-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
336 // CHECK-BE-HF64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
337 // CHECK-BE-HF64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu"
anatofuz
parents:
diff changeset
338 // CHECK-BE-HF64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
339 // CHECK-BE-HF64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
340 // CHECK-BE-HF64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
341 // CHECK-BE-HF64-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
342 // CHECK-BE-HF64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
343 // CHECK-BE-HF64-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
344 // CHECK-BE-HF64-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
345 // CHECK-BE-HF64-32R2: "--sysroot=[[TC]]/../../../../sysroot"
anatofuz
parents:
diff changeset
346 // CHECK-BE-HF64-32R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
347 // CHECK-BE-HF64-32R2: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
348 // CHECK-BE-HF64-32R2: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
349 // CHECK-BE-HF64-32R2: "[[TC]]{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
350 // CHECK-BE-HF64-32R2: "-L[[TC]]"
anatofuz
parents:
diff changeset
351 // CHECK-BE-HF64-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib"
anatofuz
parents:
diff changeset
352 // CHECK-BE-HF64-32R2: "-L[[TC]]/../../../../sysroot/usr/lib/../lib"
anatofuz
parents:
diff changeset
353 // CHECK-BE-HF64-32R2: "[[TC]]{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
354 // CHECK-BE-HF64-32R2: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
355 //
anatofuz
parents:
diff changeset
356 // = Big-endian, mips32r2, soft float
anatofuz
parents:
diff changeset
357 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
358 // RUN: --target=mips-mti-linux-gnu -mips32r2 -msoft-float \
anatofuz
parents:
diff changeset
359 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
360 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-32R2 %s
anatofuz
parents:
diff changeset
361 // CHECK-BE-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
362 // CHECK-BE-SF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
363 // CHECK-BE-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
364 // CHECK-BE-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/sof"
anatofuz
parents:
diff changeset
365 // CHECK-BE-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
366 // CHECK-BE-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
367 // CHECK-BE-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
368 // CHECK-BE-SF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
369 // CHECK-BE-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
370 // CHECK-BE-SF-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
371 // CHECK-BE-SF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
372 // CHECK-BE-SF-32R2: "--sysroot=[[TC]]/../../../../sysroot/sof"
anatofuz
parents:
diff changeset
373 // CHECK-BE-SF-32R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
374 // CHECK-BE-SF-32R2: "[[TC]]/../../../../sysroot/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
375 // CHECK-BE-SF-32R2: "[[TC]]/../../../../sysroot/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
376 // CHECK-BE-SF-32R2: "[[TC]]/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
377 // CHECK-BE-SF-32R2: "-L[[TC]]/sof"
anatofuz
parents:
diff changeset
378 // CHECK-BE-SF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/sof"
anatofuz
parents:
diff changeset
379 // CHECK-BE-SF-32R2: "-L[[TC]]/../../../../sysroot/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
380 // CHECK-BE-SF-32R2: "[[TC]]/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
381 // CHECK-BE-SF-32R2: "[[TC]]/../../../../sysroot/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
382 //
anatofuz
parents:
diff changeset
383 // = Big-endian, mips32r2, soft float, uclibc
anatofuz
parents:
diff changeset
384 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
385 // RUN: --target=mips-mti-linux-gnu -mips32r2 -msoft-float -muclibc \
anatofuz
parents:
diff changeset
386 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
387 // RUN: | FileCheck --check-prefix=CHECK-BE-UC-SF-32R2 %s
anatofuz
parents:
diff changeset
388 // CHECK-BE-UC-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
389 // CHECK-BE-UC-SF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
390 // CHECK-BE-UC-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
391 // CHECK-BE-UC-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/sof"
anatofuz
parents:
diff changeset
392 // CHECK-BE-UC-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
393 // CHECK-BE-UC-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
394 // CHECK-BE-UC-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
395 // CHECK-BE-UC-SF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
396 // CHECK-BE-UC-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
397 // CHECK-BE-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/include"
anatofuz
parents:
diff changeset
398 // CHECK-BE-UC-SF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
399 // CHECK-BE-UC-SF-32R2: "--sysroot=[[TC]]/../../../../sysroot/uclibc/sof"
anatofuz
parents:
diff changeset
400 // CHECK-BE-UC-SF-32R2: "-dynamic-linker" "/lib/ld-uClibc.so.0"
anatofuz
parents:
diff changeset
401 // CHECK-BE-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
402 // CHECK-BE-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
403 // CHECK-BE-UC-SF-32R2: "[[TC]]/uclibc/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
404 // CHECK-BE-UC-SF-32R2: "-L[[TC]]/uclibc/sof"
anatofuz
parents:
diff changeset
405 // CHECK-BE-UC-SF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/uclibc/sof"
anatofuz
parents:
diff changeset
406 // CHECK-BE-UC-SF-32R2: "-L[[TC]]/../../../../sysroot/uclibc/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
407 // CHECK-BE-UC-SF-32R2: "[[TC]]/uclibc/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
408 // CHECK-BE-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
409 //
anatofuz
parents:
diff changeset
410 // = Big-endian, mips32r2 / mips16, hard float
anatofuz
parents:
diff changeset
411 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
412 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mips16 -mhard-float \
anatofuz
parents:
diff changeset
413 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
414 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-16R2 %s
anatofuz
parents:
diff changeset
415 // CHECK-BE-HF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
416 // CHECK-BE-HF-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
417 // CHECK-BE-HF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
418 // CHECK-BE-HF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16"
anatofuz
parents:
diff changeset
419 // CHECK-BE-HF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
420 // CHECK-BE-HF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
421 // CHECK-BE-HF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
422 // CHECK-BE-HF-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
423 // CHECK-BE-HF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
424 // CHECK-BE-HF-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
425 // CHECK-BE-HF-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
426 // CHECK-BE-HF-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16"
anatofuz
parents:
diff changeset
427 // CHECK-BE-HF-16R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
428 // CHECK-BE-HF-16R2: "[[TC]]/../../../../sysroot/mips16/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
429 // CHECK-BE-HF-16R2: "[[TC]]/../../../../sysroot/mips16/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
430 // CHECK-BE-HF-16R2: "[[TC]]/mips16{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
431 // CHECK-BE-HF-16R2: "-L[[TC]]/mips16"
anatofuz
parents:
diff changeset
432 // CHECK-BE-HF-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16"
anatofuz
parents:
diff changeset
433 // CHECK-BE-HF-16R2: "-L[[TC]]/../../../../sysroot/mips16/usr/lib/../lib"
anatofuz
parents:
diff changeset
434 // CHECK-BE-HF-16R2: "[[TC]]/mips16{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
435 // CHECK-BE-HF-16R2: "[[TC]]/../../../../sysroot/mips16/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
436 //
anatofuz
parents:
diff changeset
437 // = Big-endian, mips32r2 / mips16, fp64, hard float
anatofuz
parents:
diff changeset
438 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
439 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mips16 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
440 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
441 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-16R2 %s
anatofuz
parents:
diff changeset
442 // CHECK-BE-HF64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
443 // CHECK-BE-HF64-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
444 // CHECK-BE-HF64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
445 // CHECK-BE-HF64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16"
anatofuz
parents:
diff changeset
446 // CHECK-BE-HF64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
447 // CHECK-BE-HF64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
448 // CHECK-BE-HF64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
449 // CHECK-BE-HF64-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
450 // CHECK-BE-HF64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
451 // CHECK-BE-HF64-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
452 // CHECK-BE-HF64-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
453 // CHECK-BE-HF64-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16"
anatofuz
parents:
diff changeset
454 // CHECK-BE-HF64-16R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
455 // CHECK-BE-HF64-16R2: "[[TC]]/../../../../sysroot/mips16/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
456 // CHECK-BE-HF64-16R2: "[[TC]]/../../../../sysroot/mips16/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
457 // CHECK-BE-HF64-16R2: "[[TC]]/mips16{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
458 // CHECK-BE-HF64-16R2: "-L[[TC]]/mips16"
anatofuz
parents:
diff changeset
459 // CHECK-BE-HF64-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16"
anatofuz
parents:
diff changeset
460 // CHECK-BE-HF64-16R2: "-L[[TC]]/../../../../sysroot/mips16/usr/lib/../lib"
anatofuz
parents:
diff changeset
461 // CHECK-BE-HF64-16R2: "[[TC]]/mips16{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
462 // CHECK-BE-HF64-16R2: "[[TC]]/../../../../sysroot/mips16/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
463 //
anatofuz
parents:
diff changeset
464 // = Big-endian, mips32r2 / mips16, soft float
anatofuz
parents:
diff changeset
465 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
466 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mips16 -msoft-float \
anatofuz
parents:
diff changeset
467 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
468 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-16R2 %s
anatofuz
parents:
diff changeset
469 // CHECK-BE-SF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
470 // CHECK-BE-SF-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
471 // CHECK-BE-SF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
472 // CHECK-BE-SF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/sof"
anatofuz
parents:
diff changeset
473 // CHECK-BE-SF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
474 // CHECK-BE-SF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
475 // CHECK-BE-SF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
476 // CHECK-BE-SF-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
477 // CHECK-BE-SF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
478 // CHECK-BE-SF-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
479 // CHECK-BE-SF-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
480 // CHECK-BE-SF-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/sof"
anatofuz
parents:
diff changeset
481 // CHECK-BE-SF-16R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
482 // CHECK-BE-SF-16R2: "[[TC]]/../../../../sysroot/mips16/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
483 // CHECK-BE-SF-16R2: "[[TC]]/../../../../sysroot/mips16/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
484 // CHECK-BE-SF-16R2: "[[TC]]/mips16/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
485 // CHECK-BE-SF-16R2: "-L[[TC]]/mips16/sof"
anatofuz
parents:
diff changeset
486 // CHECK-BE-SF-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/sof"
anatofuz
parents:
diff changeset
487 // CHECK-BE-SF-16R2: "-L[[TC]]/../../../../sysroot/mips16/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
488 // CHECK-BE-SF-16R2: "[[TC]]/mips16/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
489 // CHECK-BE-SF-16R2: "[[TC]]/../../../../sysroot/mips16/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
490 //
anatofuz
parents:
diff changeset
491 // = Big-endian, mips32r2 / mips16, nan2008
anatofuz
parents:
diff changeset
492 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
493 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mips16 -mnan=2008 \
anatofuz
parents:
diff changeset
494 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
495 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-16R2 %s
anatofuz
parents:
diff changeset
496 // CHECK-BE-NAN-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
497 // CHECK-BE-NAN-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
498 // CHECK-BE-NAN-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
499 // CHECK-BE-NAN-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/nan2008"
anatofuz
parents:
diff changeset
500 // CHECK-BE-NAN-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
501 // CHECK-BE-NAN-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
502 // CHECK-BE-NAN-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
503 // CHECK-BE-NAN-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
504 // CHECK-BE-NAN-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
505 // CHECK-BE-NAN-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
506 // CHECK-BE-NAN-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
507 // CHECK-BE-NAN-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/nan2008"
anatofuz
parents:
diff changeset
508 // CHECK-BE-NAN-16R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
509 // CHECK-BE-NAN-16R2: "[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
510 // CHECK-BE-NAN-16R2: "[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
511 // CHECK-BE-NAN-16R2: "[[TC]]/mips16/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
512 // CHECK-BE-NAN-16R2: "-L[[TC]]/mips16/nan2008"
anatofuz
parents:
diff changeset
513 // CHECK-BE-NAN-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/nan2008"
anatofuz
parents:
diff changeset
514 // CHECK-BE-NAN-16R2: "-L[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
515 // CHECK-BE-NAN-16R2: "[[TC]]/mips16/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
516 // CHECK-BE-NAN-16R2: "[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
517 //
anatofuz
parents:
diff changeset
518 // = Big-endian, mips32r2 / mips16, fp64, nan2008
anatofuz
parents:
diff changeset
519 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
520 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mips16 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
521 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
522 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-16R2 %s
anatofuz
parents:
diff changeset
523 // CHECK-BE-NAN64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
524 // CHECK-BE-NAN64-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
525 // CHECK-BE-NAN64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
526 // CHECK-BE-NAN64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/nan2008"
anatofuz
parents:
diff changeset
527 // CHECK-BE-NAN64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
528 // CHECK-BE-NAN64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
529 // CHECK-BE-NAN64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
530 // CHECK-BE-NAN64-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
531 // CHECK-BE-NAN64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
532 // CHECK-BE-NAN64-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
533 // CHECK-BE-NAN64-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
534 // CHECK-BE-NAN64-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/nan2008"
anatofuz
parents:
diff changeset
535 // CHECK-BE-NAN64-16R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
536 // CHECK-BE-NAN64-16R2: "[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
537 // CHECK-BE-NAN64-16R2: "[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
538 // CHECK-BE-NAN64-16R2: "[[TC]]/mips16/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
539 // CHECK-BE-NAN64-16R2: "-L[[TC]]/mips16/nan2008"
anatofuz
parents:
diff changeset
540 // CHECK-BE-NAN64-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/nan2008"
anatofuz
parents:
diff changeset
541 // CHECK-BE-NAN64-16R2: "-L[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
542 // CHECK-BE-NAN64-16R2: "[[TC]]/mips16/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
543 // CHECK-BE-NAN64-16R2: "[[TC]]/../../../../sysroot/mips16/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
544 //
anatofuz
parents:
diff changeset
545 // = Big-endian, mips32r2, nan2008
anatofuz
parents:
diff changeset
546 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
547 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mnan=2008 \
anatofuz
parents:
diff changeset
548 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
549 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-32R2 %s
anatofuz
parents:
diff changeset
550 // CHECK-BE-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
551 // CHECK-BE-NAN-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
552 // CHECK-BE-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
553 // CHECK-BE-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/nan2008"
anatofuz
parents:
diff changeset
554 // CHECK-BE-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
555 // CHECK-BE-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
556 // CHECK-BE-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
557 // CHECK-BE-NAN-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
558 // CHECK-BE-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
559 // CHECK-BE-NAN-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
560 // CHECK-BE-NAN-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
561 // CHECK-BE-NAN-32R2: "--sysroot=[[TC]]/../../../../sysroot/nan2008"
anatofuz
parents:
diff changeset
562 // CHECK-BE-NAN-32R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
563 // CHECK-BE-NAN-32R2: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
564 // CHECK-BE-NAN-32R2: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
565 // CHECK-BE-NAN-32R2: "[[TC]]/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
566 // CHECK-BE-NAN-32R2: "-L[[TC]]/nan2008"
anatofuz
parents:
diff changeset
567 // CHECK-BE-NAN-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/nan2008"
anatofuz
parents:
diff changeset
568 // CHECK-BE-NAN-32R2: "-L[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
569 // CHECK-BE-NAN-32R2: "[[TC]]/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
570 // CHECK-BE-NAN-32R2: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
571 //
anatofuz
parents:
diff changeset
572 // = Big-endian, mips32r2, nan2008, uclibc
anatofuz
parents:
diff changeset
573 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
574 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mnan=2008 -muclibc \
anatofuz
parents:
diff changeset
575 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
576 // RUN: | FileCheck --check-prefix=CHECK-BE-UC-NAN-32R2 %s
anatofuz
parents:
diff changeset
577 // CHECK-BE-UC-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
578 // CHECK-BE-UC-NAN-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
579 // CHECK-BE-UC-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
580 // CHECK-BE-UC-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/nan2008"
anatofuz
parents:
diff changeset
581 // CHECK-BE-UC-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
582 // CHECK-BE-UC-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
583 // CHECK-BE-UC-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
584 // CHECK-BE-UC-NAN-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
585 // CHECK-BE-UC-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
586 // CHECK-BE-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/include"
anatofuz
parents:
diff changeset
587 // CHECK-BE-UC-NAN-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
588 // CHECK-BE-UC-NAN-32R2: "--sysroot=[[TC]]/../../../../sysroot/uclibc/nan2008"
anatofuz
parents:
diff changeset
589 // CHECK-BE-UC-NAN-32R2: "-dynamic-linker" "/lib/ld-uClibc-mipsn8.so.0"
anatofuz
parents:
diff changeset
590 // CHECK-BE-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
591 // CHECK-BE-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
592 // CHECK-BE-UC-NAN-32R2: "[[TC]]/uclibc/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
593 // CHECK-BE-UC-NAN-32R2: "-L[[TC]]/uclibc/nan2008"
anatofuz
parents:
diff changeset
594 // CHECK-BE-UC-NAN-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/uclibc/nan2008"
anatofuz
parents:
diff changeset
595 // CHECK-BE-UC-NAN-32R2: "-L[[TC]]/../../../../sysroot/uclibc/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
596 // CHECK-BE-UC-NAN-32R2: "[[TC]]/uclibc/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
597 // CHECK-BE-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
598 //
anatofuz
parents:
diff changeset
599 // = Big-endian, mips32r2, fp64, nan2008
anatofuz
parents:
diff changeset
600 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
601 // RUN: --target=mips-mti-linux-gnu -mips32r2 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
602 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
603 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-32R2 %s
anatofuz
parents:
diff changeset
604 // CHECK-BE-NAN64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
605 // CHECK-BE-NAN64-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
606 // CHECK-BE-NAN64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
607 // CHECK-BE-NAN64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/nan2008"
anatofuz
parents:
diff changeset
608 // CHECK-BE-NAN64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
609 // CHECK-BE-NAN64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
610 // CHECK-BE-NAN64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
611 // CHECK-BE-NAN64-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
612 // CHECK-BE-NAN64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
613 // CHECK-BE-NAN64-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
614 // CHECK-BE-NAN64-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
615 // CHECK-BE-NAN64-32R2: "--sysroot=[[TC]]/../../../../sysroot/nan2008"
anatofuz
parents:
diff changeset
616 // CHECK-BE-NAN64-32R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
617 // CHECK-BE-NAN64-32R2: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
618 // CHECK-BE-NAN64-32R2: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
619 // CHECK-BE-NAN64-32R2: "[[TC]]/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
620 // CHECK-BE-NAN64-32R2: "-L[[TC]]/nan2008"
anatofuz
parents:
diff changeset
621 // CHECK-BE-NAN64-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/nan2008"
anatofuz
parents:
diff changeset
622 // CHECK-BE-NAN64-32R2: "-L[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
623 // CHECK-BE-NAN64-32R2: "[[TC]]/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
624 // CHECK-BE-NAN64-32R2: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
625 //
anatofuz
parents:
diff changeset
626 // = Big-endian, default (mips32r2), fp64, nan2008
anatofuz
parents:
diff changeset
627 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
628 // RUN: --target=mips-mti-linux-gnu -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
629 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
630 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-32R2-DEF %s
anatofuz
parents:
diff changeset
631 // CHECK-BE-NAN64-32R2-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
632 // CHECK-BE-NAN64-32R2-DEF: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
633 // CHECK-BE-NAN64-32R2-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
634 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/nan2008"
anatofuz
parents:
diff changeset
635 // CHECK-BE-NAN64-32R2-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
636 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
637 // CHECK-BE-NAN64-32R2-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
638 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/include"
anatofuz
parents:
diff changeset
639 // CHECK-BE-NAN64-32R2-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
640 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
641 // CHECK-BE-NAN64-32R2-DEF: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
642 // CHECK-BE-NAN64-32R2-DEF: "--sysroot=[[TC]]/../../../../sysroot/nan2008"
anatofuz
parents:
diff changeset
643 // CHECK-BE-NAN64-32R2-DEF: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
644 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
645 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
646 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
647 // CHECK-BE-NAN64-32R2-DEF: "-L[[TC]]/nan2008"
anatofuz
parents:
diff changeset
648 // CHECK-BE-NAN64-32R2-DEF: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/nan2008"
anatofuz
parents:
diff changeset
649 // CHECK-BE-NAN64-32R2-DEF: "-L[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
650 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
651 // CHECK-BE-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
652 //
anatofuz
parents:
diff changeset
653 // = Big-endian, micromips, hard float
anatofuz
parents:
diff changeset
654 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
655 // RUN: --target=mips-mti-linux-gnu -mmicromips -mhard-float \
anatofuz
parents:
diff changeset
656 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
657 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-MM %s
anatofuz
parents:
diff changeset
658 // CHECK-BE-HF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
659 // CHECK-BE-HF-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
660 // CHECK-BE-HF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
661 // CHECK-BE-HF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips"
anatofuz
parents:
diff changeset
662 // CHECK-BE-HF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
663 // CHECK-BE-HF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
664 // CHECK-BE-HF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
665 // CHECK-BE-HF-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
666 // CHECK-BE-HF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
667 // CHECK-BE-HF-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
668 // CHECK-BE-HF-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
669 // CHECK-BE-HF-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips"
anatofuz
parents:
diff changeset
670 // CHECK-BE-HF-MM: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
671 // CHECK-BE-HF-MM: "[[TC]]/../../../../sysroot/micromips/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
672 // CHECK-BE-HF-MM: "[[TC]]/../../../../sysroot/micromips/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
673 // CHECK-BE-HF-MM: "[[TC]]/micromips{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
674 // CHECK-BE-HF-MM: "-L[[TC]]/micromips"
anatofuz
parents:
diff changeset
675 // CHECK-BE-HF-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips"
anatofuz
parents:
diff changeset
676 // CHECK-BE-HF-MM: "-L[[TC]]/../../../../sysroot/micromips/usr/lib/../lib"
anatofuz
parents:
diff changeset
677 // CHECK-BE-HF-MM: "[[TC]]/micromips{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
678 // CHECK-BE-HF-MM: "[[TC]]/../../../../sysroot/micromips/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
679 //
anatofuz
parents:
diff changeset
680 // = Big-endian, micromips, fp64, hard float
anatofuz
parents:
diff changeset
681 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
682 // RUN: --target=mips-mti-linux-gnu -mmicromips -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
683 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
684 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-MM %s
anatofuz
parents:
diff changeset
685 // CHECK-BE-HF64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
686 // CHECK-BE-HF64-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
687 // CHECK-BE-HF64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
688 // CHECK-BE-HF64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips"
anatofuz
parents:
diff changeset
689 // CHECK-BE-HF64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
690 // CHECK-BE-HF64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
691 // CHECK-BE-HF64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
692 // CHECK-BE-HF64-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
693 // CHECK-BE-HF64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
694 // CHECK-BE-HF64-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
695 // CHECK-BE-HF64-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
696 // CHECK-BE-HF64-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips"
anatofuz
parents:
diff changeset
697 // CHECK-BE-HF64-MM: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
698 // CHECK-BE-HF64-MM: "[[TC]]/../../../../sysroot/micromips/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
699 // CHECK-BE-HF64-MM: "[[TC]]/../../../../sysroot/micromips/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
700 // CHECK-BE-HF64-MM: "[[TC]]/micromips{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
701 // CHECK-BE-HF64-MM: "-L[[TC]]/micromips"
anatofuz
parents:
diff changeset
702 // CHECK-BE-HF64-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips"
anatofuz
parents:
diff changeset
703 // CHECK-BE-HF64-MM: "-L[[TC]]/../../../../sysroot/micromips/usr/lib/../lib"
anatofuz
parents:
diff changeset
704 // CHECK-BE-HF64-MM: "[[TC]]/micromips{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
705 // CHECK-BE-HF64-MM: "[[TC]]/../../../../sysroot/micromips/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
706 //
anatofuz
parents:
diff changeset
707 // = Big-endian, micromips, soft float
anatofuz
parents:
diff changeset
708 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
709 // RUN: --target=mips-mti-linux-gnu -mmicromips -msoft-float \
anatofuz
parents:
diff changeset
710 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
711 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-MM %s
anatofuz
parents:
diff changeset
712 // CHECK-BE-SF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
713 // CHECK-BE-SF-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
714 // CHECK-BE-SF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
715 // CHECK-BE-SF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/sof"
anatofuz
parents:
diff changeset
716 // CHECK-BE-SF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
717 // CHECK-BE-SF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
718 // CHECK-BE-SF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
719 // CHECK-BE-SF-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
720 // CHECK-BE-SF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
721 // CHECK-BE-SF-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
722 // CHECK-BE-SF-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
723 // CHECK-BE-SF-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/sof"
anatofuz
parents:
diff changeset
724 // CHECK-BE-SF-MM: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
725 // CHECK-BE-SF-MM: "[[TC]]/../../../../sysroot/micromips/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
726 // CHECK-BE-SF-MM: "[[TC]]/../../../../sysroot/micromips/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
727 // CHECK-BE-SF-MM: "[[TC]]/micromips/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
728 // CHECK-BE-SF-MM: "-L[[TC]]/micromips/sof"
anatofuz
parents:
diff changeset
729 // CHECK-BE-SF-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/sof"
anatofuz
parents:
diff changeset
730 // CHECK-BE-SF-MM: "-L[[TC]]/../../../../sysroot/micromips/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
731 // CHECK-BE-SF-MM: "[[TC]]/micromips/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
732 // CHECK-BE-SF-MM: "[[TC]]/../../../../sysroot/micromips/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
733 //
anatofuz
parents:
diff changeset
734 // = Big-endian, micromips, nan2008
anatofuz
parents:
diff changeset
735 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
736 // RUN: --target=mips-mti-linux-gnu -mmicromips -mnan=2008 \
anatofuz
parents:
diff changeset
737 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
738 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-MM %s
anatofuz
parents:
diff changeset
739 // CHECK-BE-NAN-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
740 // CHECK-BE-NAN-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
741 // CHECK-BE-NAN-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
742 // CHECK-BE-NAN-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/nan2008"
anatofuz
parents:
diff changeset
743 // CHECK-BE-NAN-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
744 // CHECK-BE-NAN-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
745 // CHECK-BE-NAN-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
746 // CHECK-BE-NAN-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
747 // CHECK-BE-NAN-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
748 // CHECK-BE-NAN-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
749 // CHECK-BE-NAN-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
750 // CHECK-BE-NAN-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/nan2008"
anatofuz
parents:
diff changeset
751 // CHECK-BE-NAN-MM: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
752 // CHECK-BE-NAN-MM: "[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
753 // CHECK-BE-NAN-MM: "[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
754 // CHECK-BE-NAN-MM: "[[TC]]/micromips/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
755 // CHECK-BE-NAN-MM: "-L[[TC]]/micromips/nan2008"
anatofuz
parents:
diff changeset
756 // CHECK-BE-NAN-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/nan2008"
anatofuz
parents:
diff changeset
757 // CHECK-BE-NAN-MM: "-L[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
758 // CHECK-BE-NAN-MM: "[[TC]]/micromips/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
759 // CHECK-BE-NAN-MM: "[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
760 //
anatofuz
parents:
diff changeset
761 // = Big-endian, micromips, fp64, nan2008
anatofuz
parents:
diff changeset
762 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
763 // RUN: --target=mips-mti-linux-gnu -mmicromips -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
764 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
765 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-MM %s
anatofuz
parents:
diff changeset
766 // CHECK-BE-NAN64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
767 // CHECK-BE-NAN64-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
768 // CHECK-BE-NAN64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
769 // CHECK-BE-NAN64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/nan2008"
anatofuz
parents:
diff changeset
770 // CHECK-BE-NAN64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
771 // CHECK-BE-NAN64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
772 // CHECK-BE-NAN64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
773 // CHECK-BE-NAN64-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
774 // CHECK-BE-NAN64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
775 // CHECK-BE-NAN64-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
776 // CHECK-BE-NAN64-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
777 // CHECK-BE-NAN64-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/nan2008"
anatofuz
parents:
diff changeset
778 // CHECK-BE-NAN64-MM: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
779 // CHECK-BE-NAN64-MM: "[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
780 // CHECK-BE-NAN64-MM: "[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
781 // CHECK-BE-NAN64-MM: "[[TC]]/micromips/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
782 // CHECK-BE-NAN64-MM: "-L[[TC]]/micromips/nan2008"
anatofuz
parents:
diff changeset
783 // CHECK-BE-NAN64-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/nan2008"
anatofuz
parents:
diff changeset
784 // CHECK-BE-NAN64-MM: "-L[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
785 // CHECK-BE-NAN64-MM: "[[TC]]/micromips/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
786 // CHECK-BE-NAN64-MM: "[[TC]]/../../../../sysroot/micromips/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
787 //
anatofuz
parents:
diff changeset
788 // = Big-endian, mips64, ABI n32, hard float
anatofuz
parents:
diff changeset
789 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
790 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=n32 -mhard-float \
anatofuz
parents:
diff changeset
791 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
792 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-64-N32 %s
anatofuz
parents:
diff changeset
793 // CHECK-BE-HF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
794 // CHECK-BE-HF-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
795 // CHECK-BE-HF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
796 // CHECK-BE-HF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64"
anatofuz
parents:
diff changeset
797 // CHECK-BE-HF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
798 // CHECK-BE-HF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
799 // CHECK-BE-HF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
800 // CHECK-BE-HF-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
801 // CHECK-BE-HF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
802 // CHECK-BE-HF-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
803 // CHECK-BE-HF-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
804 // CHECK-BE-HF-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64"
anatofuz
parents:
diff changeset
805 // CHECK-BE-HF-64-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
806 // CHECK-BE-HF-64-N32: "[[TC]]/../../../../sysroot/mips64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
807 // CHECK-BE-HF-64-N32: "[[TC]]/../../../../sysroot/mips64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
808 // CHECK-BE-HF-64-N32: "[[TC]]/mips64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
809 // CHECK-BE-HF-64-N32: "-L[[TC]]/mips64"
anatofuz
parents:
diff changeset
810 // CHECK-BE-HF-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64"
anatofuz
parents:
diff changeset
811 // CHECK-BE-HF-64-N32: "-L[[TC]]/../../../../sysroot/mips64/usr/lib"
anatofuz
parents:
diff changeset
812 // CHECK-BE-HF-64-N32: "[[TC]]/mips64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
813 // CHECK-BE-HF-64-N32: "[[TC]]/../../../../sysroot/mips64/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
814 //
anatofuz
parents:
diff changeset
815 // = Big-endian, mips64, ABI n32, fp64, hard float
anatofuz
parents:
diff changeset
816 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
817 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=n32 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
818 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
819 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-64-N32 %s
anatofuz
parents:
diff changeset
820 // CHECK-BE-HF64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
821 // CHECK-BE-HF64-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
822 // CHECK-BE-HF64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
823 // CHECK-BE-HF64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64"
anatofuz
parents:
diff changeset
824 // CHECK-BE-HF64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
825 // CHECK-BE-HF64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
826 // CHECK-BE-HF64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
827 // CHECK-BE-HF64-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
828 // CHECK-BE-HF64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
829 // CHECK-BE-HF64-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
830 // CHECK-BE-HF64-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
831 // CHECK-BE-HF64-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64"
anatofuz
parents:
diff changeset
832 // CHECK-BE-HF64-64-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
833 // CHECK-BE-HF64-64-N32: "[[TC]]/../../../../sysroot/mips64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
834 // CHECK-BE-HF64-64-N32: "[[TC]]/../../../../sysroot/mips64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
835 // CHECK-BE-HF64-64-N32: "[[TC]]/mips64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
836 // CHECK-BE-HF64-64-N32: "-L[[TC]]/mips64"
anatofuz
parents:
diff changeset
837 // CHECK-BE-HF64-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64"
anatofuz
parents:
diff changeset
838 // CHECK-BE-HF64-64-N32: "-L[[TC]]/../../../../sysroot/mips64/usr/lib"
anatofuz
parents:
diff changeset
839 // CHECK-BE-HF64-64-N32: "[[TC]]/mips64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
840 // CHECK-BE-HF64-64-N32: "[[TC]]/../../../../sysroot/mips64/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
841 //
anatofuz
parents:
diff changeset
842 // = Big-endian, mips64, ABI n32, soft float
anatofuz
parents:
diff changeset
843 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
844 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=n32 -msoft-float \
anatofuz
parents:
diff changeset
845 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
846 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-64-N32 %s
anatofuz
parents:
diff changeset
847 // CHECK-BE-SF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
848 // CHECK-BE-SF-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
849 // CHECK-BE-SF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
850 // CHECK-BE-SF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/sof"
anatofuz
parents:
diff changeset
851 // CHECK-BE-SF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
852 // CHECK-BE-SF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
853 // CHECK-BE-SF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
854 // CHECK-BE-SF-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
855 // CHECK-BE-SF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
856 // CHECK-BE-SF-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
857 // CHECK-BE-SF-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
858 // CHECK-BE-SF-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/sof"
anatofuz
parents:
diff changeset
859 // CHECK-BE-SF-64-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
860 // CHECK-BE-SF-64-N32: "[[TC]]/../../../../sysroot/mips64/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
861 // CHECK-BE-SF-64-N32: "[[TC]]/../../../../sysroot/mips64/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
862 // CHECK-BE-SF-64-N32: "[[TC]]/mips64/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
863 // CHECK-BE-SF-64-N32: "-L[[TC]]/mips64/sof"
anatofuz
parents:
diff changeset
864 // CHECK-BE-SF-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/sof"
anatofuz
parents:
diff changeset
865 // CHECK-BE-SF-64-N32: "-L[[TC]]/../../../../sysroot/mips64/sof/usr/lib"
anatofuz
parents:
diff changeset
866 // CHECK-BE-SF-64-N32: "[[TC]]/mips64/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
867 // CHECK-BE-SF-64-N32: "[[TC]]/../../../../sysroot/mips64/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
868 //
anatofuz
parents:
diff changeset
869 // = Big-endian, mips64, ABI n32, nan2008
anatofuz
parents:
diff changeset
870 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
871 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=n32 -mnan=2008 \
anatofuz
parents:
diff changeset
872 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
873 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-64-N32 %s
anatofuz
parents:
diff changeset
874 // CHECK-BE-NAN-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
875 // CHECK-BE-NAN-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
876 // CHECK-BE-NAN-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
877 // CHECK-BE-NAN-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/nan2008"
anatofuz
parents:
diff changeset
878 // CHECK-BE-NAN-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
879 // CHECK-BE-NAN-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
880 // CHECK-BE-NAN-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
881 // CHECK-BE-NAN-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
882 // CHECK-BE-NAN-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
883 // CHECK-BE-NAN-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
884 // CHECK-BE-NAN-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
885 // CHECK-BE-NAN-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/nan2008"
anatofuz
parents:
diff changeset
886 // CHECK-BE-NAN-64-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
887 // CHECK-BE-NAN-64-N32: "[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
888 // CHECK-BE-NAN-64-N32: "[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
889 // CHECK-BE-NAN-64-N32: "[[TC]]/mips64/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
890 // CHECK-BE-NAN-64-N32: "-L[[TC]]/mips64/nan2008"
anatofuz
parents:
diff changeset
891 // CHECK-BE-NAN-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/nan2008"
anatofuz
parents:
diff changeset
892 // CHECK-BE-NAN-64-N32: "-L[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib"
anatofuz
parents:
diff changeset
893 // CHECK-BE-NAN-64-N32: "[[TC]]/mips64/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
894 // CHECK-BE-NAN-64-N32: "[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
895 //
anatofuz
parents:
diff changeset
896 // = Big-endian, mips64, ABI n32, fp64, nan2008
anatofuz
parents:
diff changeset
897 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
898 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=n32 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
899 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
900 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-64-N32 %s
anatofuz
parents:
diff changeset
901 // CHECK-BE-NAN64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
902 // CHECK-BE-NAN64-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
903 // CHECK-BE-NAN64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
904 // CHECK-BE-NAN64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/nan2008"
anatofuz
parents:
diff changeset
905 // CHECK-BE-NAN64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
906 // CHECK-BE-NAN64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
907 // CHECK-BE-NAN64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
908 // CHECK-BE-NAN64-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
909 // CHECK-BE-NAN64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
910 // CHECK-BE-NAN64-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
911 // CHECK-BE-NAN64-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
912 // CHECK-BE-NAN64-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/nan2008"
anatofuz
parents:
diff changeset
913 // CHECK-BE-NAN64-64-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
914 // CHECK-BE-NAN64-64-N32: "[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
915 // CHECK-BE-NAN64-64-N32: "[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
916 // CHECK-BE-NAN64-64-N32: "[[TC]]/mips64/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
917 // CHECK-BE-NAN64-64-N32: "-L[[TC]]/mips64/nan2008"
anatofuz
parents:
diff changeset
918 // CHECK-BE-NAN64-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/nan2008"
anatofuz
parents:
diff changeset
919 // CHECK-BE-NAN64-64-N32: "-L[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib"
anatofuz
parents:
diff changeset
920 // CHECK-BE-NAN64-64-N32: "[[TC]]/mips64/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
921 // CHECK-BE-NAN64-64-N32: "[[TC]]/../../../../sysroot/mips64/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
922 //
anatofuz
parents:
diff changeset
923 // = Big-endian, mips64, ABI 64, hard float
anatofuz
parents:
diff changeset
924 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
925 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=64 -mhard-float \
anatofuz
parents:
diff changeset
926 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
927 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-64-64 %s
anatofuz
parents:
diff changeset
928 // CHECK-BE-HF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
929 // CHECK-BE-HF-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
930 // CHECK-BE-HF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
931 // CHECK-BE-HF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64"
anatofuz
parents:
diff changeset
932 // CHECK-BE-HF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
933 // CHECK-BE-HF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
934 // CHECK-BE-HF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
935 // CHECK-BE-HF-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
936 // CHECK-BE-HF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
937 // CHECK-BE-HF-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
938 // CHECK-BE-HF-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
939 // CHECK-BE-HF-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64"
anatofuz
parents:
diff changeset
940 // CHECK-BE-HF-64-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
941 // CHECK-BE-HF-64-64: "[[TC]]/../../../../sysroot/mips64/64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
942 // CHECK-BE-HF-64-64: "[[TC]]/../../../../sysroot/mips64/64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
943 // CHECK-BE-HF-64-64: "[[TC]]/mips64/64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
944 // CHECK-BE-HF-64-64: "-L[[TC]]/mips64/64"
anatofuz
parents:
diff changeset
945 // CHECK-BE-HF-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64"
anatofuz
parents:
diff changeset
946 // CHECK-BE-HF-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/usr/lib"
anatofuz
parents:
diff changeset
947 // CHECK-BE-HF-64-64: "[[TC]]/mips64/64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
948 // CHECK-BE-HF-64-64: "[[TC]]/../../../../sysroot/mips64/64/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
949 //
anatofuz
parents:
diff changeset
950 // = Big-endian, mips64, ABI 64, fp64, hard float
anatofuz
parents:
diff changeset
951 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
952 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=64 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
953 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
954 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-64-64 %s
anatofuz
parents:
diff changeset
955 // CHECK-BE-HF64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
956 // CHECK-BE-HF64-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
957 // CHECK-BE-HF64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
958 // CHECK-BE-HF64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64"
anatofuz
parents:
diff changeset
959 // CHECK-BE-HF64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
960 // CHECK-BE-HF64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
961 // CHECK-BE-HF64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
962 // CHECK-BE-HF64-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
963 // CHECK-BE-HF64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
964 // CHECK-BE-HF64-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
965 // CHECK-BE-HF64-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
966 // CHECK-BE-HF64-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64"
anatofuz
parents:
diff changeset
967 // CHECK-BE-HF64-64-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
968 // CHECK-BE-HF64-64-64: "[[TC]]/../../../../sysroot/mips64/64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
969 // CHECK-BE-HF64-64-64: "[[TC]]/../../../../sysroot/mips64/64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
970 // CHECK-BE-HF64-64-64: "[[TC]]/mips64/64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
971 // CHECK-BE-HF64-64-64: "-L[[TC]]/mips64/64"
anatofuz
parents:
diff changeset
972 // CHECK-BE-HF64-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64"
anatofuz
parents:
diff changeset
973 // CHECK-BE-HF64-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/usr/lib"
anatofuz
parents:
diff changeset
974 // CHECK-BE-HF64-64-64: "[[TC]]/mips64/64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
975 // CHECK-BE-HF64-64-64: "[[TC]]/../../../../sysroot/mips64/64/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
976 //
anatofuz
parents:
diff changeset
977 // = Big-endian, mips64, ABI 64, soft float
anatofuz
parents:
diff changeset
978 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
979 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=64 -msoft-float \
anatofuz
parents:
diff changeset
980 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
981 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-64-64 %s
anatofuz
parents:
diff changeset
982 // CHECK-BE-SF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
983 // CHECK-BE-SF-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
984 // CHECK-BE-SF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
985 // CHECK-BE-SF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/sof"
anatofuz
parents:
diff changeset
986 // CHECK-BE-SF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
987 // CHECK-BE-SF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
988 // CHECK-BE-SF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
989 // CHECK-BE-SF-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
990 // CHECK-BE-SF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
991 // CHECK-BE-SF-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
992 // CHECK-BE-SF-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
993 // CHECK-BE-SF-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/sof"
anatofuz
parents:
diff changeset
994 // CHECK-BE-SF-64-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
995 // CHECK-BE-SF-64-64: "[[TC]]/../../../../sysroot/mips64/64/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
996 // CHECK-BE-SF-64-64: "[[TC]]/../../../../sysroot/mips64/64/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
997 // CHECK-BE-SF-64-64: "[[TC]]/mips64/64/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
998 // CHECK-BE-SF-64-64: "-L[[TC]]/mips64/64/sof"
anatofuz
parents:
diff changeset
999 // CHECK-BE-SF-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/sof"
anatofuz
parents:
diff changeset
1000 // CHECK-BE-SF-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/sof/usr/lib"
anatofuz
parents:
diff changeset
1001 // CHECK-BE-SF-64-64: "[[TC]]/mips64/64/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1002 // CHECK-BE-SF-64-64: "[[TC]]/../../../../sysroot/mips64/64/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1003 //
anatofuz
parents:
diff changeset
1004 // = Big-endian, mips64, ABI 64, nan2008
anatofuz
parents:
diff changeset
1005 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1006 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=64 -mnan=2008 \
anatofuz
parents:
diff changeset
1007 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1008 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-64-64 %s
anatofuz
parents:
diff changeset
1009 // CHECK-BE-NAN-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1010 // CHECK-BE-NAN-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1011 // CHECK-BE-NAN-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1012 // CHECK-BE-NAN-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1013 // CHECK-BE-NAN-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1014 // CHECK-BE-NAN-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1015 // CHECK-BE-NAN-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1016 // CHECK-BE-NAN-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
1017 // CHECK-BE-NAN-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1018 // CHECK-BE-NAN-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1019 // CHECK-BE-NAN-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1020 // CHECK-BE-NAN-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1021 // CHECK-BE-NAN-64-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1022 // CHECK-BE-NAN-64-64: "[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1023 // CHECK-BE-NAN-64-64: "[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1024 // CHECK-BE-NAN-64-64: "[[TC]]/mips64/64/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1025 // CHECK-BE-NAN-64-64: "-L[[TC]]/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1026 // CHECK-BE-NAN-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1027 // CHECK-BE-NAN-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib"
anatofuz
parents:
diff changeset
1028 // CHECK-BE-NAN-64-64: "[[TC]]/mips64/64/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1029 // CHECK-BE-NAN-64-64: "[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1030 //
anatofuz
parents:
diff changeset
1031 // = Big-endian, mips64, ABI 64, fp64, nan2008
anatofuz
parents:
diff changeset
1032 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1033 // RUN: --target=mips64-mti-linux-gnu -mips64 -mabi=64 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1034 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1035 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-64-64 %s
anatofuz
parents:
diff changeset
1036 // CHECK-BE-NAN64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1037 // CHECK-BE-NAN64-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1038 // CHECK-BE-NAN64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1039 // CHECK-BE-NAN64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1040 // CHECK-BE-NAN64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1041 // CHECK-BE-NAN64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1042 // CHECK-BE-NAN64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1043 // CHECK-BE-NAN64-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
1044 // CHECK-BE-NAN64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1045 // CHECK-BE-NAN64-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1046 // CHECK-BE-NAN64-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1047 // CHECK-BE-NAN64-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1048 // CHECK-BE-NAN64-64-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1049 // CHECK-BE-NAN64-64-64: "[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1050 // CHECK-BE-NAN64-64-64: "[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1051 // CHECK-BE-NAN64-64-64: "[[TC]]/mips64/64/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1052 // CHECK-BE-NAN64-64-64: "-L[[TC]]/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1053 // CHECK-BE-NAN64-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/nan2008"
anatofuz
parents:
diff changeset
1054 // CHECK-BE-NAN64-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib"
anatofuz
parents:
diff changeset
1055 // CHECK-BE-NAN64-64-64: "[[TC]]/mips64/64/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1056 // CHECK-BE-NAN64-64-64: "[[TC]]/../../../../sysroot/mips64/64/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1057 //
anatofuz
parents:
diff changeset
1058 // = Big-endian, mips64r2, ABI n32, hard float
anatofuz
parents:
diff changeset
1059 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1060 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=n32 -mhard-float \
anatofuz
parents:
diff changeset
1061 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1062 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-64R2-N32 %s
anatofuz
parents:
diff changeset
1063 // CHECK-BE-HF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1064 // CHECK-BE-HF-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1065 // CHECK-BE-HF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1066 // CHECK-BE-HF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2"
anatofuz
parents:
diff changeset
1067 // CHECK-BE-HF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1068 // CHECK-BE-HF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1069 // CHECK-BE-HF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1070 // CHECK-BE-HF-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1071 // CHECK-BE-HF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1072 // CHECK-BE-HF-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1073 // CHECK-BE-HF-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1074 // CHECK-BE-HF-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2"
anatofuz
parents:
diff changeset
1075 // CHECK-BE-HF-64R2-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
1076 // CHECK-BE-HF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1077 // CHECK-BE-HF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1078 // CHECK-BE-HF-64R2-N32: "[[TC]]/mips64r2{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1079 // CHECK-BE-HF-64R2-N32: "-L[[TC]]/mips64r2"
anatofuz
parents:
diff changeset
1080 // CHECK-BE-HF-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2"
anatofuz
parents:
diff changeset
1081 // CHECK-BE-HF-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/usr/lib"
anatofuz
parents:
diff changeset
1082 // CHECK-BE-HF-64R2-N32: "[[TC]]/mips64r2{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1083 // CHECK-BE-HF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1084 //
anatofuz
parents:
diff changeset
1085 // = Big-endian, mips64r2, ABI n32, fp64, hard float
anatofuz
parents:
diff changeset
1086 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1087 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=n32 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
1088 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1089 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-64R2-N32 %s
anatofuz
parents:
diff changeset
1090 // CHECK-BE-HF64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1091 // CHECK-BE-HF64-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1092 // CHECK-BE-HF64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1093 // CHECK-BE-HF64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2"
anatofuz
parents:
diff changeset
1094 // CHECK-BE-HF64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1095 // CHECK-BE-HF64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1096 // CHECK-BE-HF64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1097 // CHECK-BE-HF64-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1098 // CHECK-BE-HF64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1099 // CHECK-BE-HF64-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1100 // CHECK-BE-HF64-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1101 // CHECK-BE-HF64-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2"
anatofuz
parents:
diff changeset
1102 // CHECK-BE-HF64-64R2-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
1103 // CHECK-BE-HF64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1104 // CHECK-BE-HF64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1105 // CHECK-BE-HF64-64R2-N32: "[[TC]]/mips64r2{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1106 // CHECK-BE-HF64-64R2-N32: "-L[[TC]]/mips64r2"
anatofuz
parents:
diff changeset
1107 // CHECK-BE-HF64-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2"
anatofuz
parents:
diff changeset
1108 // CHECK-BE-HF64-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/usr/lib"
anatofuz
parents:
diff changeset
1109 // CHECK-BE-HF64-64R2-N32: "[[TC]]/mips64r2{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1110 // CHECK-BE-HF64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1111 //
anatofuz
parents:
diff changeset
1112 // = Big-endian, mips64r2, ABI n32, soft float
anatofuz
parents:
diff changeset
1113 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1114 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=n32 -msoft-float \
anatofuz
parents:
diff changeset
1115 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1116 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-64R2-N32 %s
anatofuz
parents:
diff changeset
1117 // CHECK-BE-SF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1118 // CHECK-BE-SF-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1119 // CHECK-BE-SF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1120 // CHECK-BE-SF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/sof"
anatofuz
parents:
diff changeset
1121 // CHECK-BE-SF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1122 // CHECK-BE-SF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1123 // CHECK-BE-SF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1124 // CHECK-BE-SF-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1125 // CHECK-BE-SF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1126 // CHECK-BE-SF-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1127 // CHECK-BE-SF-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1128 // CHECK-BE-SF-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/sof"
anatofuz
parents:
diff changeset
1129 // CHECK-BE-SF-64R2-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
1130 // CHECK-BE-SF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1131 // CHECK-BE-SF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1132 // CHECK-BE-SF-64R2-N32: "[[TC]]/mips64r2/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1133 // CHECK-BE-SF-64R2-N32: "-L[[TC]]/mips64r2/sof"
anatofuz
parents:
diff changeset
1134 // CHECK-BE-SF-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/sof"
anatofuz
parents:
diff changeset
1135 // CHECK-BE-SF-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/sof/usr/lib"
anatofuz
parents:
diff changeset
1136 // CHECK-BE-SF-64R2-N32: "[[TC]]/mips64r2/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1137 // CHECK-BE-SF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1138 //
anatofuz
parents:
diff changeset
1139 // = Big-endian, mips64r2, ABI n32, nan2008
anatofuz
parents:
diff changeset
1140 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1141 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=n32 -mnan=2008 \
anatofuz
parents:
diff changeset
1142 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1143 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-64R2-N32 %s
anatofuz
parents:
diff changeset
1144 // CHECK-BE-NAN-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1145 // CHECK-BE-NAN-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1146 // CHECK-BE-NAN-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1147 // CHECK-BE-NAN-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1148 // CHECK-BE-NAN-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1149 // CHECK-BE-NAN-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1150 // CHECK-BE-NAN-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1151 // CHECK-BE-NAN-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1152 // CHECK-BE-NAN-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1153 // CHECK-BE-NAN-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1154 // CHECK-BE-NAN-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1155 // CHECK-BE-NAN-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1156 // CHECK-BE-NAN-64R2-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1157 // CHECK-BE-NAN-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1158 // CHECK-BE-NAN-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1159 // CHECK-BE-NAN-64R2-N32: "[[TC]]/mips64r2/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1160 // CHECK-BE-NAN-64R2-N32: "-L[[TC]]/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1161 // CHECK-BE-NAN-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1162 // CHECK-BE-NAN-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib"
anatofuz
parents:
diff changeset
1163 // CHECK-BE-NAN-64R2-N32: "[[TC]]/mips64r2/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1164 // CHECK-BE-NAN-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1165 //
anatofuz
parents:
diff changeset
1166 // = Big-endian, mips64r2, ABI n32, fp64, nan2008
anatofuz
parents:
diff changeset
1167 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1168 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=n32 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1169 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1170 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-64R2-N32 %s
anatofuz
parents:
diff changeset
1171 // CHECK-BE-NAN64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1172 // CHECK-BE-NAN64-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1173 // CHECK-BE-NAN64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1174 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1175 // CHECK-BE-NAN64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
1176 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1177 // CHECK-BE-NAN64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1178 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1179 // CHECK-BE-NAN64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1180 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1181 // CHECK-BE-NAN64-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1182 // CHECK-BE-NAN64-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1183 // CHECK-BE-NAN64-64R2-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1184 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1185 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1186 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/mips64r2/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1187 // CHECK-BE-NAN64-64R2-N32: "-L[[TC]]/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1188 // CHECK-BE-NAN64-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/nan2008"
anatofuz
parents:
diff changeset
1189 // CHECK-BE-NAN64-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib"
anatofuz
parents:
diff changeset
1190 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/mips64r2/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1191 // CHECK-BE-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1192 //
anatofuz
parents:
diff changeset
1193 // = Big-endian, mips64r2, ABI 64, hard float
anatofuz
parents:
diff changeset
1194 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1195 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=64 -mhard-float \
anatofuz
parents:
diff changeset
1196 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1197 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-64R2-64 %s
anatofuz
parents:
diff changeset
1198 // CHECK-BE-HF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1199 // CHECK-BE-HF-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1200 // CHECK-BE-HF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1201 // CHECK-BE-HF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64"
anatofuz
parents:
diff changeset
1202 // CHECK-BE-HF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1203 // CHECK-BE-HF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1204 // CHECK-BE-HF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1205 // CHECK-BE-HF-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
1206 // CHECK-BE-HF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1207 // CHECK-BE-HF-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1208 // CHECK-BE-HF-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1209 // CHECK-BE-HF-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64"
anatofuz
parents:
diff changeset
1210 // CHECK-BE-HF-64R2-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
1211 // CHECK-BE-HF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1212 // CHECK-BE-HF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1213 // CHECK-BE-HF-64R2-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1214 // CHECK-BE-HF-64R2-64: "-L[[TC]]/mips64r2/64"
anatofuz
parents:
diff changeset
1215 // CHECK-BE-HF-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64"
anatofuz
parents:
diff changeset
1216 // CHECK-BE-HF-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/usr/lib"
anatofuz
parents:
diff changeset
1217 // CHECK-BE-HF-64R2-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1218 // CHECK-BE-HF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1219 //
anatofuz
parents:
diff changeset
1220 // = Big-endian, mips64r2, ABI 64, fp64, hard float
anatofuz
parents:
diff changeset
1221 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1222 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=64 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
1223 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1224 // RUN: | FileCheck --check-prefix=CHECK-BE-HF64-64R2-64 %s
anatofuz
parents:
diff changeset
1225 // CHECK-BE-HF64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1226 // CHECK-BE-HF64-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1227 // CHECK-BE-HF64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1228 // CHECK-BE-HF64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64"
anatofuz
parents:
diff changeset
1229 // CHECK-BE-HF64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1230 // CHECK-BE-HF64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1231 // CHECK-BE-HF64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1232 // CHECK-BE-HF64-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
1233 // CHECK-BE-HF64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1234 // CHECK-BE-HF64-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1235 // CHECK-BE-HF64-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1236 // CHECK-BE-HF64-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64"
anatofuz
parents:
diff changeset
1237 // CHECK-BE-HF64-64R2-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
1238 // CHECK-BE-HF64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1239 // CHECK-BE-HF64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1240 // CHECK-BE-HF64-64R2-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1241 // CHECK-BE-HF64-64R2-64: "-L[[TC]]/mips64r2/64"
anatofuz
parents:
diff changeset
1242 // CHECK-BE-HF64-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64"
anatofuz
parents:
diff changeset
1243 // CHECK-BE-HF64-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/usr/lib"
anatofuz
parents:
diff changeset
1244 // CHECK-BE-HF64-64R2-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1245 // CHECK-BE-HF64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1246 //
anatofuz
parents:
diff changeset
1247 // = Big-endian, mips64r2, ABI 64, soft float
anatofuz
parents:
diff changeset
1248 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1249 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=64 -msoft-float \
anatofuz
parents:
diff changeset
1250 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1251 // RUN: | FileCheck --check-prefix=CHECK-BE-SF-64R2-64 %s
anatofuz
parents:
diff changeset
1252 // CHECK-BE-SF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1253 // CHECK-BE-SF-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1254 // CHECK-BE-SF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1255 // CHECK-BE-SF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/sof"
anatofuz
parents:
diff changeset
1256 // CHECK-BE-SF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1257 // CHECK-BE-SF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1258 // CHECK-BE-SF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1259 // CHECK-BE-SF-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
1260 // CHECK-BE-SF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1261 // CHECK-BE-SF-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1262 // CHECK-BE-SF-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1263 // CHECK-BE-SF-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/sof"
anatofuz
parents:
diff changeset
1264 // CHECK-BE-SF-64R2-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
1265 // CHECK-BE-SF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1266 // CHECK-BE-SF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1267 // CHECK-BE-SF-64R2-64: "[[TC]]/mips64r2/64/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1268 // CHECK-BE-SF-64R2-64: "-L[[TC]]/mips64r2/64/sof"
anatofuz
parents:
diff changeset
1269 // CHECK-BE-SF-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/sof"
anatofuz
parents:
diff changeset
1270 // CHECK-BE-SF-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/sof/usr/lib"
anatofuz
parents:
diff changeset
1271 // CHECK-BE-SF-64R2-64: "[[TC]]/mips64r2/64/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1272 // CHECK-BE-SF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1273 //
anatofuz
parents:
diff changeset
1274 // = Big-endian, mips64r2, ABI 64, nan2008
anatofuz
parents:
diff changeset
1275 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1276 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=64 -mnan=2008 \
anatofuz
parents:
diff changeset
1277 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1278 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN-64R2-64 %s
anatofuz
parents:
diff changeset
1279 // CHECK-BE-NAN-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1280 // CHECK-BE-NAN-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1281 // CHECK-BE-NAN-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1282 // CHECK-BE-NAN-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1283 // CHECK-BE-NAN-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1284 // CHECK-BE-NAN-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1285 // CHECK-BE-NAN-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1286 // CHECK-BE-NAN-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
1287 // CHECK-BE-NAN-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1288 // CHECK-BE-NAN-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1289 // CHECK-BE-NAN-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1290 // CHECK-BE-NAN-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1291 // CHECK-BE-NAN-64R2-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1292 // CHECK-BE-NAN-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1293 // CHECK-BE-NAN-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1294 // CHECK-BE-NAN-64R2-64: "[[TC]]/mips64r2/64/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1295 // CHECK-BE-NAN-64R2-64: "-L[[TC]]/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1296 // CHECK-BE-NAN-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1297 // CHECK-BE-NAN-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib"
anatofuz
parents:
diff changeset
1298 // CHECK-BE-NAN-64R2-64: "[[TC]]/mips64r2/64/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1299 // CHECK-BE-NAN-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1300 //
anatofuz
parents:
diff changeset
1301 // = Big-endian, mips64r2, ABI 64, fp64, nan2008
anatofuz
parents:
diff changeset
1302 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1303 // RUN: --target=mips64-mti-linux-gnu -mips64r2 -mabi=64 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1304 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1305 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-64R2-64 %s
anatofuz
parents:
diff changeset
1306 // CHECK-BE-NAN64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1307 // CHECK-BE-NAN64-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1308 // CHECK-BE-NAN64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1309 // CHECK-BE-NAN64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1310 // CHECK-BE-NAN64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
1311 // CHECK-BE-NAN64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1312 // CHECK-BE-NAN64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1313 // CHECK-BE-NAN64-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
1314 // CHECK-BE-NAN64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1315 // CHECK-BE-NAN64-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1316 // CHECK-BE-NAN64-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1317 // CHECK-BE-NAN64-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1318 // CHECK-BE-NAN64-64R2-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1319 // CHECK-BE-NAN64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1320 // CHECK-BE-NAN64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1321 // CHECK-BE-NAN64-64R2-64: "[[TC]]/mips64r2/64/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1322 // CHECK-BE-NAN64-64R2-64: "-L[[TC]]/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1323 // CHECK-BE-NAN64-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1324 // CHECK-BE-NAN64-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib"
anatofuz
parents:
diff changeset
1325 // CHECK-BE-NAN64-64R2-64: "[[TC]]/mips64r2/64/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1326 // CHECK-BE-NAN64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1327 //
anatofuz
parents:
diff changeset
1328 // = Big-endian, default (mips64r2), ABI 64, fp64, nan2008
anatofuz
parents:
diff changeset
1329 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1330 // RUN: --target=mips64-mti-linux-gnu -mabi=64 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1331 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1332 // RUN: | FileCheck --check-prefix=CHECK-BE-NAN64-64R2-64-DEF %s
anatofuz
parents:
diff changeset
1333 // CHECK-BE-NAN64-64R2-64-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
1334 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1335 // CHECK-BE-NAN64-64R2-64-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
1336 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1337 // CHECK-BE-NAN64-64R2-64-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
1338 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1339 // CHECK-BE-NAN64-64R2-64-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1340 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/include"
anatofuz
parents:
diff changeset
1341 // CHECK-BE-NAN64-64R2-64-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1342 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1343 // CHECK-BE-NAN64-64R2-64-DEF: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1344 // CHECK-BE-NAN64-64R2-64-DEF: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1345 // CHECK-BE-NAN64-64R2-64-DEF: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1346 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1347 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1348 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/mips64r2/64/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1349 // CHECK-BE-NAN64-64R2-64-DEF: "-L[[TC]]/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1350 // CHECK-BE-NAN64-64R2-64-DEF: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/nan2008"
anatofuz
parents:
diff changeset
1351 // CHECK-BE-NAN64-64R2-64-DEF: "-L[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib"
anatofuz
parents:
diff changeset
1352 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/mips64r2/64/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1353 // CHECK-BE-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/mips64r2/64/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1354 //
anatofuz
parents:
diff changeset
1355 // = Little-endian, mips32, hard float
anatofuz
parents:
diff changeset
1356 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1357 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mhard-float \
anatofuz
parents:
diff changeset
1358 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1359 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-32 %s
anatofuz
parents:
diff changeset
1360 // CHECK-EL-HF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1361 // CHECK-EL-HF-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1362 // CHECK-EL-HF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1363 // CHECK-EL-HF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el"
anatofuz
parents:
diff changeset
1364 // CHECK-EL-HF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1365 // CHECK-EL-HF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1366 // CHECK-EL-HF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1367 // CHECK-EL-HF-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1368 // CHECK-EL-HF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1369 // CHECK-EL-HF-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1370 // CHECK-EL-HF-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1371 // CHECK-EL-HF-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/el"
anatofuz
parents:
diff changeset
1372 // CHECK-EL-HF-32: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1373 // CHECK-EL-HF-32: "[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1374 // CHECK-EL-HF-32: "[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1375 // CHECK-EL-HF-32: "[[TC]]/mips32/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1376 // CHECK-EL-HF-32: "-L[[TC]]/mips32/el"
anatofuz
parents:
diff changeset
1377 // CHECK-EL-HF-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/el"
anatofuz
parents:
diff changeset
1378 // CHECK-EL-HF-32: "-L[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1379 // CHECK-EL-HF-32: "[[TC]]/mips32/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1380 // CHECK-EL-HF-32: "[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1381 //
anatofuz
parents:
diff changeset
1382 // = Little-endian, mips32, fp64, hard float
anatofuz
parents:
diff changeset
1383 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1384 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
1385 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1386 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-32 %s
anatofuz
parents:
diff changeset
1387 // CHECK-EL-HF64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1388 // CHECK-EL-HF64-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1389 // CHECK-EL-HF64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1390 // CHECK-EL-HF64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el"
anatofuz
parents:
diff changeset
1391 // CHECK-EL-HF64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1392 // CHECK-EL-HF64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1393 // CHECK-EL-HF64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1394 // CHECK-EL-HF64-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1395 // CHECK-EL-HF64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1396 // CHECK-EL-HF64-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1397 // CHECK-EL-HF64-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1398 // CHECK-EL-HF64-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/el"
anatofuz
parents:
diff changeset
1399 // CHECK-EL-HF64-32: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1400 // CHECK-EL-HF64-32: "[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1401 // CHECK-EL-HF64-32: "[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1402 // CHECK-EL-HF64-32: "[[TC]]/mips32/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1403 // CHECK-EL-HF64-32: "-L[[TC]]/mips32/el"
anatofuz
parents:
diff changeset
1404 // CHECK-EL-HF64-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/el"
anatofuz
parents:
diff changeset
1405 // CHECK-EL-HF64-32: "-L[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1406 // CHECK-EL-HF64-32: "[[TC]]/mips32/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1407 // CHECK-EL-HF64-32: "[[TC]]/../../../../sysroot/mips32/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1408 //
anatofuz
parents:
diff changeset
1409 // = Little-endian, mips32, soft float
anatofuz
parents:
diff changeset
1410 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1411 // RUN: --target=mipsel-mti-linux-gnu -mips32 -msoft-float \
anatofuz
parents:
diff changeset
1412 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1413 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-32 %s
anatofuz
parents:
diff changeset
1414 // CHECK-EL-SF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1415 // CHECK-EL-SF-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1416 // CHECK-EL-SF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1417 // CHECK-EL-SF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el/sof"
anatofuz
parents:
diff changeset
1418 // CHECK-EL-SF-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1419 // CHECK-EL-SF-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1420 // CHECK-EL-SF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1421 // CHECK-EL-SF-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1422 // CHECK-EL-SF-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1423 // CHECK-EL-SF-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1424 // CHECK-EL-SF-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1425 // CHECK-EL-SF-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/el/sof"
anatofuz
parents:
diff changeset
1426 // CHECK-EL-SF-32: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1427 // CHECK-EL-SF-32: "[[TC]]/../../../../sysroot/mips32/el/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1428 // CHECK-EL-SF-32: "[[TC]]/../../../../sysroot/mips32/el/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1429 // CHECK-EL-SF-32: "[[TC]]/mips32/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1430 // CHECK-EL-SF-32: "-L[[TC]]/mips32/el/sof"
anatofuz
parents:
diff changeset
1431 // CHECK-EL-SF-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/el/sof"
anatofuz
parents:
diff changeset
1432 // CHECK-EL-SF-32: "-L[[TC]]/../../../../sysroot/mips32/el/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
1433 // CHECK-EL-SF-32: "[[TC]]/mips32/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1434 // CHECK-EL-SF-32: "[[TC]]/../../../../sysroot/mips32/el/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1435 //
anatofuz
parents:
diff changeset
1436 // = Little-endian, mips32 / mips16, hard float
anatofuz
parents:
diff changeset
1437 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1438 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mips16 -mhard-float \
anatofuz
parents:
diff changeset
1439 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1440 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-16 %s
anatofuz
parents:
diff changeset
1441 // CHECK-EL-HF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1442 // CHECK-EL-HF-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1443 // CHECK-EL-HF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1444 // CHECK-EL-HF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el"
anatofuz
parents:
diff changeset
1445 // CHECK-EL-HF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1446 // CHECK-EL-HF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1447 // CHECK-EL-HF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1448 // CHECK-EL-HF-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
1449 // CHECK-EL-HF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1450 // CHECK-EL-HF-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1451 // CHECK-EL-HF-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1452 // CHECK-EL-HF-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/el"
anatofuz
parents:
diff changeset
1453 // CHECK-EL-HF-16: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1454 // CHECK-EL-HF-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1455 // CHECK-EL-HF-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1456 // CHECK-EL-HF-16: "[[TC]]/mips32/mips16/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1457 // CHECK-EL-HF-16: "-L[[TC]]/mips32/mips16/el"
anatofuz
parents:
diff changeset
1458 // CHECK-EL-HF-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/el"
anatofuz
parents:
diff changeset
1459 // CHECK-EL-HF-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1460 // CHECK-EL-HF-16: "[[TC]]/mips32/mips16/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1461 // CHECK-EL-HF-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1462 //
anatofuz
parents:
diff changeset
1463 // = Little-endian, mips32 / mips16, fp64, hard float
anatofuz
parents:
diff changeset
1464 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1465 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mips16 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
1466 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1467 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-16 %s
anatofuz
parents:
diff changeset
1468 // CHECK-EL-HF64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1469 // CHECK-EL-HF64-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1470 // CHECK-EL-HF64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1471 // CHECK-EL-HF64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el"
anatofuz
parents:
diff changeset
1472 // CHECK-EL-HF64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1473 // CHECK-EL-HF64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1474 // CHECK-EL-HF64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1475 // CHECK-EL-HF64-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
1476 // CHECK-EL-HF64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1477 // CHECK-EL-HF64-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1478 // CHECK-EL-HF64-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1479 // CHECK-EL-HF64-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/el"
anatofuz
parents:
diff changeset
1480 // CHECK-EL-HF64-16: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1481 // CHECK-EL-HF64-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1482 // CHECK-EL-HF64-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1483 // CHECK-EL-HF64-16: "[[TC]]/mips32/mips16/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1484 // CHECK-EL-HF64-16: "-L[[TC]]/mips32/mips16/el"
anatofuz
parents:
diff changeset
1485 // CHECK-EL-HF64-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/el"
anatofuz
parents:
diff changeset
1486 // CHECK-EL-HF64-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1487 // CHECK-EL-HF64-16: "[[TC]]/mips32/mips16/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1488 // CHECK-EL-HF64-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1489 //
anatofuz
parents:
diff changeset
1490 // = Little-endian, mips32 / mips16, soft float
anatofuz
parents:
diff changeset
1491 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1492 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mips16 -msoft-float \
anatofuz
parents:
diff changeset
1493 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1494 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-16 %s
anatofuz
parents:
diff changeset
1495 // CHECK-EL-SF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1496 // CHECK-EL-SF-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1497 // CHECK-EL-SF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1498 // CHECK-EL-SF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el/sof"
anatofuz
parents:
diff changeset
1499 // CHECK-EL-SF-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1500 // CHECK-EL-SF-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1501 // CHECK-EL-SF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1502 // CHECK-EL-SF-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
1503 // CHECK-EL-SF-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1504 // CHECK-EL-SF-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1505 // CHECK-EL-SF-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1506 // CHECK-EL-SF-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/el/sof"
anatofuz
parents:
diff changeset
1507 // CHECK-EL-SF-16: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1508 // CHECK-EL-SF-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1509 // CHECK-EL-SF-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1510 // CHECK-EL-SF-16: "[[TC]]/mips32/mips16/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1511 // CHECK-EL-SF-16: "-L[[TC]]/mips32/mips16/el/sof"
anatofuz
parents:
diff changeset
1512 // CHECK-EL-SF-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/el/sof"
anatofuz
parents:
diff changeset
1513 // CHECK-EL-SF-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/el/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
1514 // CHECK-EL-SF-16: "[[TC]]/mips32/mips16/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1515 // CHECK-EL-SF-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1516 //
anatofuz
parents:
diff changeset
1517 // = Little-endian, mips32 / mips16, nan2008
anatofuz
parents:
diff changeset
1518 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1519 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mips16 -mnan=2008 \
anatofuz
parents:
diff changeset
1520 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1521 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-16 %s
anatofuz
parents:
diff changeset
1522 // CHECK-EL-NAN-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1523 // CHECK-EL-NAN-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1524 // CHECK-EL-NAN-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1525 // CHECK-EL-NAN-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1526 // CHECK-EL-NAN-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1527 // CHECK-EL-NAN-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1528 // CHECK-EL-NAN-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1529 // CHECK-EL-NAN-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
1530 // CHECK-EL-NAN-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1531 // CHECK-EL-NAN-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1532 // CHECK-EL-NAN-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1533 // CHECK-EL-NAN-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1534 // CHECK-EL-NAN-16: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1535 // CHECK-EL-NAN-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1536 // CHECK-EL-NAN-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1537 // CHECK-EL-NAN-16: "[[TC]]/mips32/mips16/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1538 // CHECK-EL-NAN-16: "-L[[TC]]/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1539 // CHECK-EL-NAN-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1540 // CHECK-EL-NAN-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1541 // CHECK-EL-NAN-16: "[[TC]]/mips32/mips16/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1542 // CHECK-EL-NAN-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1543 //
anatofuz
parents:
diff changeset
1544 // = Little-endian, mips32 / mips16, fp64, nan2008
anatofuz
parents:
diff changeset
1545 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1546 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mips16 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1547 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1548 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-16 %s
anatofuz
parents:
diff changeset
1549 // CHECK-EL-NAN64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1550 // CHECK-EL-NAN64-16: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1551 // CHECK-EL-NAN64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1552 // CHECK-EL-NAN64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1553 // CHECK-EL-NAN64-16: "-internal-isystem"
anatofuz
parents:
diff changeset
1554 // CHECK-EL-NAN64-16: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1555 // CHECK-EL-NAN64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1556 // CHECK-EL-NAN64-16: "[[TC]]/include"
anatofuz
parents:
diff changeset
1557 // CHECK-EL-NAN64-16: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1558 // CHECK-EL-NAN64-16: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1559 // CHECK-EL-NAN64-16: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1560 // CHECK-EL-NAN64-16: "--sysroot=[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1561 // CHECK-EL-NAN64-16: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1562 // CHECK-EL-NAN64-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1563 // CHECK-EL-NAN64-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1564 // CHECK-EL-NAN64-16: "[[TC]]/mips32/mips16/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1565 // CHECK-EL-NAN64-16: "-L[[TC]]/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1566 // CHECK-EL-NAN64-16: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1567 // CHECK-EL-NAN64-16: "-L[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1568 // CHECK-EL-NAN64-16: "[[TC]]/mips32/mips16/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1569 // CHECK-EL-NAN64-16: "[[TC]]/../../../../sysroot/mips32/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1570 //
anatofuz
parents:
diff changeset
1571 // = Little-endian, mips32, nan2008
anatofuz
parents:
diff changeset
1572 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1573 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mnan=2008 \
anatofuz
parents:
diff changeset
1574 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1575 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-32 %s
anatofuz
parents:
diff changeset
1576 // CHECK-EL-NAN-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1577 // CHECK-EL-NAN-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1578 // CHECK-EL-NAN-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1579 // CHECK-EL-NAN-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1580 // CHECK-EL-NAN-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1581 // CHECK-EL-NAN-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1582 // CHECK-EL-NAN-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1583 // CHECK-EL-NAN-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1584 // CHECK-EL-NAN-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1585 // CHECK-EL-NAN-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1586 // CHECK-EL-NAN-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1587 // CHECK-EL-NAN-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1588 // CHECK-EL-NAN-32: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1589 // CHECK-EL-NAN-32: "[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1590 // CHECK-EL-NAN-32: "[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1591 // CHECK-EL-NAN-32: "[[TC]]/mips32/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1592 // CHECK-EL-NAN-32: "-L[[TC]]/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1593 // CHECK-EL-NAN-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1594 // CHECK-EL-NAN-32: "-L[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1595 // CHECK-EL-NAN-32: "[[TC]]/mips32/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1596 // CHECK-EL-NAN-32: "[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1597 //
anatofuz
parents:
diff changeset
1598 // = Little-endian, mips32, fp64, nan2008
anatofuz
parents:
diff changeset
1599 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1600 // RUN: --target=mipsel-mti-linux-gnu -mips32 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1601 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1602 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-32 %s
anatofuz
parents:
diff changeset
1603 // CHECK-EL-NAN64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1604 // CHECK-EL-NAN64-32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1605 // CHECK-EL-NAN64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1606 // CHECK-EL-NAN64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1607 // CHECK-EL-NAN64-32: "-internal-isystem"
anatofuz
parents:
diff changeset
1608 // CHECK-EL-NAN64-32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1609 // CHECK-EL-NAN64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1610 // CHECK-EL-NAN64-32: "[[TC]]/include"
anatofuz
parents:
diff changeset
1611 // CHECK-EL-NAN64-32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1612 // CHECK-EL-NAN64-32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1613 // CHECK-EL-NAN64-32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1614 // CHECK-EL-NAN64-32: "--sysroot=[[TC]]/../../../../sysroot/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1615 // CHECK-EL-NAN64-32: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1616 // CHECK-EL-NAN64-32: "[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1617 // CHECK-EL-NAN64-32: "[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1618 // CHECK-EL-NAN64-32: "[[TC]]/mips32/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1619 // CHECK-EL-NAN64-32: "-L[[TC]]/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1620 // CHECK-EL-NAN64-32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips32/el/nan2008"
anatofuz
parents:
diff changeset
1621 // CHECK-EL-NAN64-32: "-L[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1622 // CHECK-EL-NAN64-32: "[[TC]]/mips32/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1623 // CHECK-EL-NAN64-32: "[[TC]]/../../../../sysroot/mips32/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1624 //
anatofuz
parents:
diff changeset
1625 // = Little-endian, mips32r2, hard float
anatofuz
parents:
diff changeset
1626 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1627 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mhard-float \
anatofuz
parents:
diff changeset
1628 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1629 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-32R2 %s
anatofuz
parents:
diff changeset
1630 // CHECK-EL-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1631 // CHECK-EL-HF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1632 // CHECK-EL-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1633 // CHECK-EL-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el"
anatofuz
parents:
diff changeset
1634 // CHECK-EL-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1635 // CHECK-EL-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1636 // CHECK-EL-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1637 // CHECK-EL-HF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1638 // CHECK-EL-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1639 // CHECK-EL-HF-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1640 // CHECK-EL-HF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1641 // CHECK-EL-HF-32R2: "--sysroot=[[TC]]/../../../../sysroot/el"
anatofuz
parents:
diff changeset
1642 // CHECK-EL-HF-32R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1643 // CHECK-EL-HF-32R2: "[[TC]]/../../../../sysroot/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1644 // CHECK-EL-HF-32R2: "[[TC]]/../../../../sysroot/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1645 // CHECK-EL-HF-32R2: "[[TC]]/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1646 // CHECK-EL-HF-32R2: "-L[[TC]]/el"
anatofuz
parents:
diff changeset
1647 // CHECK-EL-HF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/el"
anatofuz
parents:
diff changeset
1648 // CHECK-EL-HF-32R2: "-L[[TC]]/../../../../sysroot/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1649 // CHECK-EL-HF-32R2: "[[TC]]/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1650 // CHECK-EL-HF-32R2: "[[TC]]/../../../../sysroot/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1651 //
anatofuz
parents:
diff changeset
1652 // = Little-endian, mips32r2, hard float, uclibc
anatofuz
parents:
diff changeset
1653 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1654 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mhard-float -muclibc \
anatofuz
parents:
diff changeset
1655 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1656 // RUN: | FileCheck --check-prefix=CHECK-EL-UC-HF-32R2 %s
anatofuz
parents:
diff changeset
1657 // CHECK-EL-UC-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1658 // CHECK-EL-UC-HF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1659 // CHECK-EL-UC-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1660 // CHECK-EL-UC-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/el"
anatofuz
parents:
diff changeset
1661 // CHECK-EL-UC-HF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1662 // CHECK-EL-UC-HF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1663 // CHECK-EL-UC-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1664 // CHECK-EL-UC-HF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1665 // CHECK-EL-UC-HF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1666 // CHECK-EL-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/include"
anatofuz
parents:
diff changeset
1667 // CHECK-EL-UC-HF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1668 // CHECK-EL-UC-HF-32R2: "--sysroot=[[TC]]/../../../../sysroot/uclibc/el"
anatofuz
parents:
diff changeset
1669 // CHECK-EL-UC-HF-32R2: "-dynamic-linker" "/lib/ld-uClibc.so.0"
anatofuz
parents:
diff changeset
1670 // CHECK-EL-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1671 // CHECK-EL-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1672 // CHECK-EL-UC-HF-32R2: "[[TC]]/uclibc/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1673 // CHECK-EL-UC-HF-32R2: "-L[[TC]]/uclibc/el"
anatofuz
parents:
diff changeset
1674 // CHECK-EL-UC-HF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/uclibc/el"
anatofuz
parents:
diff changeset
1675 // CHECK-EL-UC-HF-32R2: "-L[[TC]]/../../../../sysroot/uclibc/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1676 // CHECK-EL-UC-HF-32R2: "[[TC]]/uclibc/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1677 // CHECK-EL-UC-HF-32R2: "[[TC]]/../../../../sysroot/uclibc/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1678 //
anatofuz
parents:
diff changeset
1679 // = Little-endian, mips32r2, fp64, hard float
anatofuz
parents:
diff changeset
1680 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1681 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
1682 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1683 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-32R2 %s
anatofuz
parents:
diff changeset
1684 // CHECK-EL-HF64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1685 // CHECK-EL-HF64-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1686 // CHECK-EL-HF64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1687 // CHECK-EL-HF64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el"
anatofuz
parents:
diff changeset
1688 // CHECK-EL-HF64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1689 // CHECK-EL-HF64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1690 // CHECK-EL-HF64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1691 // CHECK-EL-HF64-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1692 // CHECK-EL-HF64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1693 // CHECK-EL-HF64-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1694 // CHECK-EL-HF64-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1695 // CHECK-EL-HF64-32R2: "--sysroot=[[TC]]/../../../../sysroot/el"
anatofuz
parents:
diff changeset
1696 // CHECK-EL-HF64-32R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1697 // CHECK-EL-HF64-32R2: "[[TC]]/../../../../sysroot/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1698 // CHECK-EL-HF64-32R2: "[[TC]]/../../../../sysroot/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1699 // CHECK-EL-HF64-32R2: "[[TC]]/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1700 // CHECK-EL-HF64-32R2: "-L[[TC]]/el"
anatofuz
parents:
diff changeset
1701 // CHECK-EL-HF64-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/el"
anatofuz
parents:
diff changeset
1702 // CHECK-EL-HF64-32R2: "-L[[TC]]/../../../../sysroot/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1703 // CHECK-EL-HF64-32R2: "[[TC]]/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1704 // CHECK-EL-HF64-32R2: "[[TC]]/../../../../sysroot/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1705 //
anatofuz
parents:
diff changeset
1706 // = Little-endian, mips32r2, soft float
anatofuz
parents:
diff changeset
1707 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1708 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -msoft-float \
anatofuz
parents:
diff changeset
1709 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1710 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-32R2 %s
anatofuz
parents:
diff changeset
1711 // CHECK-EL-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1712 // CHECK-EL-SF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1713 // CHECK-EL-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1714 // CHECK-EL-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el/sof"
anatofuz
parents:
diff changeset
1715 // CHECK-EL-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1716 // CHECK-EL-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1717 // CHECK-EL-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1718 // CHECK-EL-SF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1719 // CHECK-EL-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1720 // CHECK-EL-SF-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1721 // CHECK-EL-SF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1722 // CHECK-EL-SF-32R2: "--sysroot=[[TC]]/../../../../sysroot/el/sof"
anatofuz
parents:
diff changeset
1723 // CHECK-EL-SF-32R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1724 // CHECK-EL-SF-32R2: "[[TC]]/../../../../sysroot/el/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1725 // CHECK-EL-SF-32R2: "[[TC]]/../../../../sysroot/el/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1726 // CHECK-EL-SF-32R2: "[[TC]]/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1727 // CHECK-EL-SF-32R2: "-L[[TC]]/el/sof"
anatofuz
parents:
diff changeset
1728 // CHECK-EL-SF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/el/sof"
anatofuz
parents:
diff changeset
1729 // CHECK-EL-SF-32R2: "-L[[TC]]/../../../../sysroot/el/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
1730 // CHECK-EL-SF-32R2: "[[TC]]/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1731 // CHECK-EL-SF-32R2: "[[TC]]/../../../../sysroot/el/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1732 //
anatofuz
parents:
diff changeset
1733 // = Little-endian, mips32r2, soft float, uclibc
anatofuz
parents:
diff changeset
1734 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1735 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -msoft-float -muclibc \
anatofuz
parents:
diff changeset
1736 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1737 // RUN: | FileCheck --check-prefix=CHECK-EL-UC-SF-32R2 %s
anatofuz
parents:
diff changeset
1738 // CHECK-EL-UC-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1739 // CHECK-EL-UC-SF-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1740 // CHECK-EL-UC-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1741 // CHECK-EL-UC-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/el/sof"
anatofuz
parents:
diff changeset
1742 // CHECK-EL-UC-SF-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1743 // CHECK-EL-UC-SF-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1744 // CHECK-EL-UC-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1745 // CHECK-EL-UC-SF-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1746 // CHECK-EL-UC-SF-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1747 // CHECK-EL-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/include"
anatofuz
parents:
diff changeset
1748 // CHECK-EL-UC-SF-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1749 // CHECK-EL-UC-SF-32R2: "--sysroot=[[TC]]/../../../../sysroot/uclibc/el/sof"
anatofuz
parents:
diff changeset
1750 // CHECK-EL-UC-SF-32R2: "-dynamic-linker" "/lib/ld-uClibc.so.0"
anatofuz
parents:
diff changeset
1751 // CHECK-EL-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/el/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1752 // CHECK-EL-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/el/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1753 // CHECK-EL-UC-SF-32R2: "[[TC]]/uclibc/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1754 // CHECK-EL-UC-SF-32R2: "-L[[TC]]/uclibc/el/sof"
anatofuz
parents:
diff changeset
1755 // CHECK-EL-UC-SF-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/uclibc/el/sof"
anatofuz
parents:
diff changeset
1756 // CHECK-EL-UC-SF-32R2: "-L[[TC]]/../../../../sysroot/uclibc/el/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
1757 // CHECK-EL-UC-SF-32R2: "[[TC]]/uclibc/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1758 // CHECK-EL-UC-SF-32R2: "[[TC]]/../../../../sysroot/uclibc/el/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1759 //
anatofuz
parents:
diff changeset
1760 // = Little-endian, mips32r2 / mips16, hard float
anatofuz
parents:
diff changeset
1761 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1762 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mips16 -mhard-float \
anatofuz
parents:
diff changeset
1763 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1764 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-16R2 %s
anatofuz
parents:
diff changeset
1765 // CHECK-EL-HF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1766 // CHECK-EL-HF-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1767 // CHECK-EL-HF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1768 // CHECK-EL-HF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el"
anatofuz
parents:
diff changeset
1769 // CHECK-EL-HF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1770 // CHECK-EL-HF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1771 // CHECK-EL-HF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1772 // CHECK-EL-HF-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1773 // CHECK-EL-HF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1774 // CHECK-EL-HF-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1775 // CHECK-EL-HF-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1776 // CHECK-EL-HF-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/el"
anatofuz
parents:
diff changeset
1777 // CHECK-EL-HF-16R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1778 // CHECK-EL-HF-16R2: "[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1779 // CHECK-EL-HF-16R2: "[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1780 // CHECK-EL-HF-16R2: "[[TC]]/mips16/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1781 // CHECK-EL-HF-16R2: "-L[[TC]]/mips16/el"
anatofuz
parents:
diff changeset
1782 // CHECK-EL-HF-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/el"
anatofuz
parents:
diff changeset
1783 // CHECK-EL-HF-16R2: "-L[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1784 // CHECK-EL-HF-16R2: "[[TC]]/mips16/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1785 // CHECK-EL-HF-16R2: "[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1786 //
anatofuz
parents:
diff changeset
1787 // = Little-endian, mips32r2 / mips16, fp64, hard float
anatofuz
parents:
diff changeset
1788 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1789 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mips16 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
1790 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1791 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-16R2 %s
anatofuz
parents:
diff changeset
1792 // CHECK-EL-HF64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1793 // CHECK-EL-HF64-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1794 // CHECK-EL-HF64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1795 // CHECK-EL-HF64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el"
anatofuz
parents:
diff changeset
1796 // CHECK-EL-HF64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1797 // CHECK-EL-HF64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1798 // CHECK-EL-HF64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1799 // CHECK-EL-HF64-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1800 // CHECK-EL-HF64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1801 // CHECK-EL-HF64-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1802 // CHECK-EL-HF64-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1803 // CHECK-EL-HF64-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/el"
anatofuz
parents:
diff changeset
1804 // CHECK-EL-HF64-16R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1805 // CHECK-EL-HF64-16R2: "[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1806 // CHECK-EL-HF64-16R2: "[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1807 // CHECK-EL-HF64-16R2: "[[TC]]/mips16/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1808 // CHECK-EL-HF64-16R2: "-L[[TC]]/mips16/el"
anatofuz
parents:
diff changeset
1809 // CHECK-EL-HF64-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/el"
anatofuz
parents:
diff changeset
1810 // CHECK-EL-HF64-16R2: "-L[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
1811 // CHECK-EL-HF64-16R2: "[[TC]]/mips16/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1812 // CHECK-EL-HF64-16R2: "[[TC]]/../../../../sysroot/mips16/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1813 //
anatofuz
parents:
diff changeset
1814 // = Little-endian, mips32r2 / mips16, soft float
anatofuz
parents:
diff changeset
1815 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1816 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mips16 -msoft-float \
anatofuz
parents:
diff changeset
1817 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1818 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-16R2 %s
anatofuz
parents:
diff changeset
1819 // CHECK-EL-SF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1820 // CHECK-EL-SF-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1821 // CHECK-EL-SF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1822 // CHECK-EL-SF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el/sof"
anatofuz
parents:
diff changeset
1823 // CHECK-EL-SF-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1824 // CHECK-EL-SF-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1825 // CHECK-EL-SF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1826 // CHECK-EL-SF-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1827 // CHECK-EL-SF-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1828 // CHECK-EL-SF-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1829 // CHECK-EL-SF-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1830 // CHECK-EL-SF-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/el/sof"
anatofuz
parents:
diff changeset
1831 // CHECK-EL-SF-16R2: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
1832 // CHECK-EL-SF-16R2: "[[TC]]/../../../../sysroot/mips16/el/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1833 // CHECK-EL-SF-16R2: "[[TC]]/../../../../sysroot/mips16/el/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1834 // CHECK-EL-SF-16R2: "[[TC]]/mips16/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1835 // CHECK-EL-SF-16R2: "-L[[TC]]/mips16/el/sof"
anatofuz
parents:
diff changeset
1836 // CHECK-EL-SF-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/el/sof"
anatofuz
parents:
diff changeset
1837 // CHECK-EL-SF-16R2: "-L[[TC]]/../../../../sysroot/mips16/el/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
1838 // CHECK-EL-SF-16R2: "[[TC]]/mips16/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1839 // CHECK-EL-SF-16R2: "[[TC]]/../../../../sysroot/mips16/el/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1840 //
anatofuz
parents:
diff changeset
1841 // = Little-endian, mips32r2 / mips16, nan2008
anatofuz
parents:
diff changeset
1842 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1843 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mips16 -mnan=2008 \
anatofuz
parents:
diff changeset
1844 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1845 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-16R2 %s
anatofuz
parents:
diff changeset
1846 // CHECK-EL-NAN-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1847 // CHECK-EL-NAN-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1848 // CHECK-EL-NAN-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1849 // CHECK-EL-NAN-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1850 // CHECK-EL-NAN-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1851 // CHECK-EL-NAN-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1852 // CHECK-EL-NAN-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1853 // CHECK-EL-NAN-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1854 // CHECK-EL-NAN-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1855 // CHECK-EL-NAN-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1856 // CHECK-EL-NAN-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1857 // CHECK-EL-NAN-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1858 // CHECK-EL-NAN-16R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1859 // CHECK-EL-NAN-16R2: "[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1860 // CHECK-EL-NAN-16R2: "[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1861 // CHECK-EL-NAN-16R2: "[[TC]]/mips16/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1862 // CHECK-EL-NAN-16R2: "-L[[TC]]/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1863 // CHECK-EL-NAN-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1864 // CHECK-EL-NAN-16R2: "-L[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1865 // CHECK-EL-NAN-16R2: "[[TC]]/mips16/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1866 // CHECK-EL-NAN-16R2: "[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1867 //
anatofuz
parents:
diff changeset
1868 // = Little-endian, mips32r2 / mips16, fp64, nan2008
anatofuz
parents:
diff changeset
1869 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1870 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mips16 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1871 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1872 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-16R2 %s
anatofuz
parents:
diff changeset
1873 // CHECK-EL-NAN64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1874 // CHECK-EL-NAN64-16R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1875 // CHECK-EL-NAN64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1876 // CHECK-EL-NAN64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1877 // CHECK-EL-NAN64-16R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1878 // CHECK-EL-NAN64-16R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1879 // CHECK-EL-NAN64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1880 // CHECK-EL-NAN64-16R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1881 // CHECK-EL-NAN64-16R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1882 // CHECK-EL-NAN64-16R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1883 // CHECK-EL-NAN64-16R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1884 // CHECK-EL-NAN64-16R2: "--sysroot=[[TC]]/../../../../sysroot/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1885 // CHECK-EL-NAN64-16R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1886 // CHECK-EL-NAN64-16R2: "[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1887 // CHECK-EL-NAN64-16R2: "[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1888 // CHECK-EL-NAN64-16R2: "[[TC]]/mips16/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1889 // CHECK-EL-NAN64-16R2: "-L[[TC]]/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1890 // CHECK-EL-NAN64-16R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/mips16/el/nan2008"
anatofuz
parents:
diff changeset
1891 // CHECK-EL-NAN64-16R2: "-L[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1892 // CHECK-EL-NAN64-16R2: "[[TC]]/mips16/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1893 // CHECK-EL-NAN64-16R2: "[[TC]]/../../../../sysroot/mips16/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1894 //
anatofuz
parents:
diff changeset
1895 // = Little-endian, mips32r2, nan2008
anatofuz
parents:
diff changeset
1896 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1897 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mnan=2008 \
anatofuz
parents:
diff changeset
1898 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1899 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-32R2 %s
anatofuz
parents:
diff changeset
1900 // CHECK-EL-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1901 // CHECK-EL-NAN-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1902 // CHECK-EL-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1903 // CHECK-EL-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el/nan2008"
anatofuz
parents:
diff changeset
1904 // CHECK-EL-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1905 // CHECK-EL-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1906 // CHECK-EL-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1907 // CHECK-EL-NAN-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1908 // CHECK-EL-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1909 // CHECK-EL-NAN-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1910 // CHECK-EL-NAN-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1911 // CHECK-EL-NAN-32R2: "--sysroot=[[TC]]/../../../../sysroot/el/nan2008"
anatofuz
parents:
diff changeset
1912 // CHECK-EL-NAN-32R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1913 // CHECK-EL-NAN-32R2: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1914 // CHECK-EL-NAN-32R2: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1915 // CHECK-EL-NAN-32R2: "[[TC]]/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1916 // CHECK-EL-NAN-32R2: "-L[[TC]]/el/nan2008"
anatofuz
parents:
diff changeset
1917 // CHECK-EL-NAN-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/el/nan2008"
anatofuz
parents:
diff changeset
1918 // CHECK-EL-NAN-32R2: "-L[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1919 // CHECK-EL-NAN-32R2: "[[TC]]/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1920 // CHECK-EL-NAN-32R2: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1921 //
anatofuz
parents:
diff changeset
1922 // = Little-endian, mips32r2, nan2008, uclibc
anatofuz
parents:
diff changeset
1923 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1924 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mnan=2008 -muclibc \
anatofuz
parents:
diff changeset
1925 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1926 // RUN: | FileCheck --check-prefix=CHECK-EL-UC-NAN-32R2 %s
anatofuz
parents:
diff changeset
1927 // CHECK-EL-UC-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1928 // CHECK-EL-UC-NAN-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1929 // CHECK-EL-UC-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1930 // CHECK-EL-UC-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/uclibc/el/nan2008"
anatofuz
parents:
diff changeset
1931 // CHECK-EL-UC-NAN-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1932 // CHECK-EL-UC-NAN-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1933 // CHECK-EL-UC-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1934 // CHECK-EL-UC-NAN-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1935 // CHECK-EL-UC-NAN-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1936 // CHECK-EL-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/usr/include"
anatofuz
parents:
diff changeset
1937 // CHECK-EL-UC-NAN-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1938 // CHECK-EL-UC-NAN-32R2: "--sysroot=[[TC]]/../../../../sysroot/uclibc/el/nan2008"
anatofuz
parents:
diff changeset
1939 // CHECK-EL-UC-NAN-32R2: "-dynamic-linker" "/lib/ld-uClibc-mipsn8.so.0"
anatofuz
parents:
diff changeset
1940 // CHECK-EL-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1941 // CHECK-EL-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1942 // CHECK-EL-UC-NAN-32R2: "[[TC]]/uclibc/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1943 // CHECK-EL-UC-NAN-32R2: "-L[[TC]]/uclibc/el/nan2008"
anatofuz
parents:
diff changeset
1944 // CHECK-EL-UC-NAN-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/uclibc/el/nan2008"
anatofuz
parents:
diff changeset
1945 // CHECK-EL-UC-NAN-32R2: "-L[[TC]]/../../../../sysroot/uclibc/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1946 // CHECK-EL-UC-NAN-32R2: "[[TC]]/uclibc/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1947 // CHECK-EL-UC-NAN-32R2: "[[TC]]/../../../../sysroot/uclibc/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1948 //
anatofuz
parents:
diff changeset
1949 // = Little-endian, mips32r2, fp64, nan2008
anatofuz
parents:
diff changeset
1950 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1951 // RUN: --target=mipsel-mti-linux-gnu -mips32r2 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1952 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1953 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-32R2 %s
anatofuz
parents:
diff changeset
1954 // CHECK-EL-NAN64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1955 // CHECK-EL-NAN64-32R2: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1956 // CHECK-EL-NAN64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1957 // CHECK-EL-NAN64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el/nan2008"
anatofuz
parents:
diff changeset
1958 // CHECK-EL-NAN64-32R2: "-internal-isystem"
anatofuz
parents:
diff changeset
1959 // CHECK-EL-NAN64-32R2: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1960 // CHECK-EL-NAN64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1961 // CHECK-EL-NAN64-32R2: "[[TC]]/include"
anatofuz
parents:
diff changeset
1962 // CHECK-EL-NAN64-32R2: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1963 // CHECK-EL-NAN64-32R2: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1964 // CHECK-EL-NAN64-32R2: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1965 // CHECK-EL-NAN64-32R2: "--sysroot=[[TC]]/../../../../sysroot/el/nan2008"
anatofuz
parents:
diff changeset
1966 // CHECK-EL-NAN64-32R2: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1967 // CHECK-EL-NAN64-32R2: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1968 // CHECK-EL-NAN64-32R2: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1969 // CHECK-EL-NAN64-32R2: "[[TC]]/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1970 // CHECK-EL-NAN64-32R2: "-L[[TC]]/el/nan2008"
anatofuz
parents:
diff changeset
1971 // CHECK-EL-NAN64-32R2: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/el/nan2008"
anatofuz
parents:
diff changeset
1972 // CHECK-EL-NAN64-32R2: "-L[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
1973 // CHECK-EL-NAN64-32R2: "[[TC]]/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
1974 // CHECK-EL-NAN64-32R2: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
1975 //
anatofuz
parents:
diff changeset
1976 // = Little-endian, default (mips32r2), fp64, nan2008
anatofuz
parents:
diff changeset
1977 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
1978 // RUN: --target=mipsel-mti-linux-gnu -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
1979 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
1980 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-32R2-DEF %s
anatofuz
parents:
diff changeset
1981 // CHECK-EL-NAN64-32R2-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
1982 // CHECK-EL-NAN64-32R2-DEF: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
1983 // CHECK-EL-NAN64-32R2-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
1984 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/el/nan2008"
anatofuz
parents:
diff changeset
1985 // CHECK-EL-NAN64-32R2-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
1986 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
1987 // CHECK-EL-NAN64-32R2-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1988 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/include"
anatofuz
parents:
diff changeset
1989 // CHECK-EL-NAN64-32R2-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
1990 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
1991 // CHECK-EL-NAN64-32R2-DEF: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
1992 // CHECK-EL-NAN64-32R2-DEF: "--sysroot=[[TC]]/../../../../sysroot/el/nan2008"
anatofuz
parents:
diff changeset
1993 // CHECK-EL-NAN64-32R2-DEF: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
1994 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
1995 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
1996 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
1997 // CHECK-EL-NAN64-32R2-DEF: "-L[[TC]]/el/nan2008"
anatofuz
parents:
diff changeset
1998 // CHECK-EL-NAN64-32R2-DEF: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/el/nan2008"
anatofuz
parents:
diff changeset
1999 // CHECK-EL-NAN64-32R2-DEF: "-L[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
2000 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2001 // CHECK-EL-NAN64-32R2-DEF: "[[TC]]/../../../../sysroot/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2002 //
anatofuz
parents:
diff changeset
2003 // = Little-endian, micromips, hard float
anatofuz
parents:
diff changeset
2004 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2005 // RUN: --target=mipsel-mti-linux-gnu -mmicromips -mhard-float \
anatofuz
parents:
diff changeset
2006 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2007 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-MM %s
anatofuz
parents:
diff changeset
2008 // CHECK-EL-HF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2009 // CHECK-EL-HF-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2010 // CHECK-EL-HF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2011 // CHECK-EL-HF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el"
anatofuz
parents:
diff changeset
2012 // CHECK-EL-HF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2013 // CHECK-EL-HF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2014 // CHECK-EL-HF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2015 // CHECK-EL-HF-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
2016 // CHECK-EL-HF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2017 // CHECK-EL-HF-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2018 // CHECK-EL-HF-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2019 // CHECK-EL-HF-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/el"
anatofuz
parents:
diff changeset
2020 // CHECK-EL-HF-MM: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
2021 // CHECK-EL-HF-MM: "[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2022 // CHECK-EL-HF-MM: "[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2023 // CHECK-EL-HF-MM: "[[TC]]/micromips/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2024 // CHECK-EL-HF-MM: "-L[[TC]]/micromips/el"
anatofuz
parents:
diff changeset
2025 // CHECK-EL-HF-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/el"
anatofuz
parents:
diff changeset
2026 // CHECK-EL-HF-MM: "-L[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
2027 // CHECK-EL-HF-MM: "[[TC]]/micromips/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2028 // CHECK-EL-HF-MM: "[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2029 //
anatofuz
parents:
diff changeset
2030 // = Little-endian, micromips, fp64, hard float
anatofuz
parents:
diff changeset
2031 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2032 // RUN: --target=mipsel-mti-linux-gnu -mmicromips -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
2033 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2034 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-MM %s
anatofuz
parents:
diff changeset
2035 // CHECK-EL-HF64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2036 // CHECK-EL-HF64-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2037 // CHECK-EL-HF64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2038 // CHECK-EL-HF64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el"
anatofuz
parents:
diff changeset
2039 // CHECK-EL-HF64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2040 // CHECK-EL-HF64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2041 // CHECK-EL-HF64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2042 // CHECK-EL-HF64-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
2043 // CHECK-EL-HF64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2044 // CHECK-EL-HF64-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2045 // CHECK-EL-HF64-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2046 // CHECK-EL-HF64-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/el"
anatofuz
parents:
diff changeset
2047 // CHECK-EL-HF64-MM: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
2048 // CHECK-EL-HF64-MM: "[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2049 // CHECK-EL-HF64-MM: "[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2050 // CHECK-EL-HF64-MM: "[[TC]]/micromips/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2051 // CHECK-EL-HF64-MM: "-L[[TC]]/micromips/el"
anatofuz
parents:
diff changeset
2052 // CHECK-EL-HF64-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/el"
anatofuz
parents:
diff changeset
2053 // CHECK-EL-HF64-MM: "-L[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib"
anatofuz
parents:
diff changeset
2054 // CHECK-EL-HF64-MM: "[[TC]]/micromips/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2055 // CHECK-EL-HF64-MM: "[[TC]]/../../../../sysroot/micromips/el/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2056 //
anatofuz
parents:
diff changeset
2057 // = Little-endian, micromips, soft float
anatofuz
parents:
diff changeset
2058 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2059 // RUN: --target=mipsel-mti-linux-gnu -mmicromips -msoft-float \
anatofuz
parents:
diff changeset
2060 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2061 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-MM %s
anatofuz
parents:
diff changeset
2062 // CHECK-EL-SF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2063 // CHECK-EL-SF-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2064 // CHECK-EL-SF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2065 // CHECK-EL-SF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el/sof"
anatofuz
parents:
diff changeset
2066 // CHECK-EL-SF-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2067 // CHECK-EL-SF-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2068 // CHECK-EL-SF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2069 // CHECK-EL-SF-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
2070 // CHECK-EL-SF-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2071 // CHECK-EL-SF-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2072 // CHECK-EL-SF-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2073 // CHECK-EL-SF-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/el/sof"
anatofuz
parents:
diff changeset
2074 // CHECK-EL-SF-MM: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
2075 // CHECK-EL-SF-MM: "[[TC]]/../../../../sysroot/micromips/el/sof/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2076 // CHECK-EL-SF-MM: "[[TC]]/../../../../sysroot/micromips/el/sof/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2077 // CHECK-EL-SF-MM: "[[TC]]/micromips/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2078 // CHECK-EL-SF-MM: "-L[[TC]]/micromips/el/sof"
anatofuz
parents:
diff changeset
2079 // CHECK-EL-SF-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/el/sof"
anatofuz
parents:
diff changeset
2080 // CHECK-EL-SF-MM: "-L[[TC]]/../../../../sysroot/micromips/el/sof/usr/lib/../lib"
anatofuz
parents:
diff changeset
2081 // CHECK-EL-SF-MM: "[[TC]]/micromips/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2082 // CHECK-EL-SF-MM: "[[TC]]/../../../../sysroot/micromips/el/sof/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2083 //
anatofuz
parents:
diff changeset
2084 // = Little-endian, micromips, nan2008
anatofuz
parents:
diff changeset
2085 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2086 // RUN: --target=mipsel-mti-linux-gnu -mmicromips -mnan=2008 \
anatofuz
parents:
diff changeset
2087 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2088 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-MM %s
anatofuz
parents:
diff changeset
2089 // CHECK-EL-NAN-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2090 // CHECK-EL-NAN-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2091 // CHECK-EL-NAN-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2092 // CHECK-EL-NAN-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2093 // CHECK-EL-NAN-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2094 // CHECK-EL-NAN-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2095 // CHECK-EL-NAN-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2096 // CHECK-EL-NAN-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
2097 // CHECK-EL-NAN-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2098 // CHECK-EL-NAN-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2099 // CHECK-EL-NAN-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2100 // CHECK-EL-NAN-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2101 // CHECK-EL-NAN-MM: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2102 // CHECK-EL-NAN-MM: "[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2103 // CHECK-EL-NAN-MM: "[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2104 // CHECK-EL-NAN-MM: "[[TC]]/micromips/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2105 // CHECK-EL-NAN-MM: "-L[[TC]]/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2106 // CHECK-EL-NAN-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2107 // CHECK-EL-NAN-MM: "-L[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
2108 // CHECK-EL-NAN-MM: "[[TC]]/micromips/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2109 // CHECK-EL-NAN-MM: "[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2110 //
anatofuz
parents:
diff changeset
2111 // = Little-endian, micromips, fp64, nan2008
anatofuz
parents:
diff changeset
2112 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2113 // RUN: --target=mipsel-mti-linux-gnu -mmicromips -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
2114 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2115 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-MM %s
anatofuz
parents:
diff changeset
2116 // CHECK-EL-NAN64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2117 // CHECK-EL-NAN64-MM: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2118 // CHECK-EL-NAN64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2119 // CHECK-EL-NAN64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2120 // CHECK-EL-NAN64-MM: "-internal-isystem"
anatofuz
parents:
diff changeset
2121 // CHECK-EL-NAN64-MM: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2122 // CHECK-EL-NAN64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2123 // CHECK-EL-NAN64-MM: "[[TC]]/include"
anatofuz
parents:
diff changeset
2124 // CHECK-EL-NAN64-MM: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2125 // CHECK-EL-NAN64-MM: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2126 // CHECK-EL-NAN64-MM: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2127 // CHECK-EL-NAN64-MM: "--sysroot=[[TC]]/../../../../sysroot/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2128 // CHECK-EL-NAN64-MM: "-dynamic-linker" "/lib/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2129 // CHECK-EL-NAN64-MM: "[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2130 // CHECK-EL-NAN64-MM: "[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2131 // CHECK-EL-NAN64-MM: "[[TC]]/micromips/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2132 // CHECK-EL-NAN64-MM: "-L[[TC]]/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2133 // CHECK-EL-NAN64-MM: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib/micromips/el/nan2008"
anatofuz
parents:
diff changeset
2134 // CHECK-EL-NAN64-MM: "-L[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib"
anatofuz
parents:
diff changeset
2135 // CHECK-EL-NAN64-MM: "[[TC]]/micromips/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2136 // CHECK-EL-NAN64-MM: "[[TC]]/../../../../sysroot/micromips/el/nan2008/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2137 //
anatofuz
parents:
diff changeset
2138 // = Little-endian, mips64, ABI n32, hard float
anatofuz
parents:
diff changeset
2139 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2140 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=n32 -mhard-float \
anatofuz
parents:
diff changeset
2141 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2142 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-64-N32 %s
anatofuz
parents:
diff changeset
2143 // CHECK-EL-HF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2144 // CHECK-EL-HF-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2145 // CHECK-EL-HF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2146 // CHECK-EL-HF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el"
anatofuz
parents:
diff changeset
2147 // CHECK-EL-HF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2148 // CHECK-EL-HF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2149 // CHECK-EL-HF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2150 // CHECK-EL-HF-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2151 // CHECK-EL-HF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2152 // CHECK-EL-HF-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2153 // CHECK-EL-HF-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2154 // CHECK-EL-HF-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/el"
anatofuz
parents:
diff changeset
2155 // CHECK-EL-HF-64-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
2156 // CHECK-EL-HF-64-N32: "[[TC]]/../../../../sysroot/mips64/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2157 // CHECK-EL-HF-64-N32: "[[TC]]/../../../../sysroot/mips64/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2158 // CHECK-EL-HF-64-N32: "[[TC]]/mips64/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2159 // CHECK-EL-HF-64-N32: "-L[[TC]]/mips64/el"
anatofuz
parents:
diff changeset
2160 // CHECK-EL-HF-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/el"
anatofuz
parents:
diff changeset
2161 // CHECK-EL-HF-64-N32: "-L[[TC]]/../../../../sysroot/mips64/el/usr/lib"
anatofuz
parents:
diff changeset
2162 // CHECK-EL-HF-64-N32: "[[TC]]/mips64/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2163 // CHECK-EL-HF-64-N32: "[[TC]]/../../../../sysroot/mips64/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2164 //
anatofuz
parents:
diff changeset
2165 // = Little-endian, mips64, ABI n32, fp64, hard float
anatofuz
parents:
diff changeset
2166 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2167 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=n32 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
2168 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2169 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-64-N32 %s
anatofuz
parents:
diff changeset
2170 // CHECK-EL-HF64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2171 // CHECK-EL-HF64-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2172 // CHECK-EL-HF64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2173 // CHECK-EL-HF64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el"
anatofuz
parents:
diff changeset
2174 // CHECK-EL-HF64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2175 // CHECK-EL-HF64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2176 // CHECK-EL-HF64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2177 // CHECK-EL-HF64-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2178 // CHECK-EL-HF64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2179 // CHECK-EL-HF64-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2180 // CHECK-EL-HF64-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2181 // CHECK-EL-HF64-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/el"
anatofuz
parents:
diff changeset
2182 // CHECK-EL-HF64-64-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
2183 // CHECK-EL-HF64-64-N32: "[[TC]]/../../../../sysroot/mips64/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2184 // CHECK-EL-HF64-64-N32: "[[TC]]/../../../../sysroot/mips64/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2185 // CHECK-EL-HF64-64-N32: "[[TC]]/mips64/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2186 // CHECK-EL-HF64-64-N32: "-L[[TC]]/mips64/el"
anatofuz
parents:
diff changeset
2187 // CHECK-EL-HF64-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/el"
anatofuz
parents:
diff changeset
2188 // CHECK-EL-HF64-64-N32: "-L[[TC]]/../../../../sysroot/mips64/el/usr/lib"
anatofuz
parents:
diff changeset
2189 // CHECK-EL-HF64-64-N32: "[[TC]]/mips64/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2190 // CHECK-EL-HF64-64-N32: "[[TC]]/../../../../sysroot/mips64/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2191 //
anatofuz
parents:
diff changeset
2192 // = Little-endian, mips64, ABI n32, soft float
anatofuz
parents:
diff changeset
2193 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2194 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=n32 -msoft-float \
anatofuz
parents:
diff changeset
2195 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2196 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-64-N32 %s
anatofuz
parents:
diff changeset
2197 // CHECK-EL-SF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2198 // CHECK-EL-SF-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2199 // CHECK-EL-SF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2200 // CHECK-EL-SF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el/sof"
anatofuz
parents:
diff changeset
2201 // CHECK-EL-SF-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2202 // CHECK-EL-SF-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2203 // CHECK-EL-SF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2204 // CHECK-EL-SF-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2205 // CHECK-EL-SF-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2206 // CHECK-EL-SF-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2207 // CHECK-EL-SF-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2208 // CHECK-EL-SF-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/el/sof"
anatofuz
parents:
diff changeset
2209 // CHECK-EL-SF-64-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
2210 // CHECK-EL-SF-64-N32: "[[TC]]/../../../../sysroot/mips64/el/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2211 // CHECK-EL-SF-64-N32: "[[TC]]/../../../../sysroot/mips64/el/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2212 // CHECK-EL-SF-64-N32: "[[TC]]/mips64/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2213 // CHECK-EL-SF-64-N32: "-L[[TC]]/mips64/el/sof"
anatofuz
parents:
diff changeset
2214 // CHECK-EL-SF-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/el/sof"
anatofuz
parents:
diff changeset
2215 // CHECK-EL-SF-64-N32: "-L[[TC]]/../../../../sysroot/mips64/el/sof/usr/lib"
anatofuz
parents:
diff changeset
2216 // CHECK-EL-SF-64-N32: "[[TC]]/mips64/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2217 // CHECK-EL-SF-64-N32: "[[TC]]/../../../../sysroot/mips64/el/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2218 //
anatofuz
parents:
diff changeset
2219 // = Little-endian, mips64, ABI n32, nan2008
anatofuz
parents:
diff changeset
2220 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2221 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=n32 -mnan=2008 \
anatofuz
parents:
diff changeset
2222 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2223 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-64-N32 %s
anatofuz
parents:
diff changeset
2224 // CHECK-EL-NAN-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2225 // CHECK-EL-NAN-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2226 // CHECK-EL-NAN-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2227 // CHECK-EL-NAN-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2228 // CHECK-EL-NAN-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2229 // CHECK-EL-NAN-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2230 // CHECK-EL-NAN-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2231 // CHECK-EL-NAN-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2232 // CHECK-EL-NAN-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2233 // CHECK-EL-NAN-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2234 // CHECK-EL-NAN-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2235 // CHECK-EL-NAN-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2236 // CHECK-EL-NAN-64-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2237 // CHECK-EL-NAN-64-N32: "[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2238 // CHECK-EL-NAN-64-N32: "[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2239 // CHECK-EL-NAN-64-N32: "[[TC]]/mips64/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2240 // CHECK-EL-NAN-64-N32: "-L[[TC]]/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2241 // CHECK-EL-NAN-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2242 // CHECK-EL-NAN-64-N32: "-L[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2243 // CHECK-EL-NAN-64-N32: "[[TC]]/mips64/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2244 // CHECK-EL-NAN-64-N32: "[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2245 //
anatofuz
parents:
diff changeset
2246 // = Little-endian, mips64, ABI n32, fp64, nan2008
anatofuz
parents:
diff changeset
2247 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2248 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=n32 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
2249 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2250 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-64-N32 %s
anatofuz
parents:
diff changeset
2251 // CHECK-EL-NAN64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2252 // CHECK-EL-NAN64-64-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2253 // CHECK-EL-NAN64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2254 // CHECK-EL-NAN64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2255 // CHECK-EL-NAN64-64-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2256 // CHECK-EL-NAN64-64-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2257 // CHECK-EL-NAN64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2258 // CHECK-EL-NAN64-64-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2259 // CHECK-EL-NAN64-64-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2260 // CHECK-EL-NAN64-64-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2261 // CHECK-EL-NAN64-64-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2262 // CHECK-EL-NAN64-64-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2263 // CHECK-EL-NAN64-64-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2264 // CHECK-EL-NAN64-64-N32: "[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2265 // CHECK-EL-NAN64-64-N32: "[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2266 // CHECK-EL-NAN64-64-N32: "[[TC]]/mips64/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2267 // CHECK-EL-NAN64-64-N32: "-L[[TC]]/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2268 // CHECK-EL-NAN64-64-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/el/nan2008"
anatofuz
parents:
diff changeset
2269 // CHECK-EL-NAN64-64-N32: "-L[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2270 // CHECK-EL-NAN64-64-N32: "[[TC]]/mips64/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2271 // CHECK-EL-NAN64-64-N32: "[[TC]]/../../../../sysroot/mips64/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2272 //
anatofuz
parents:
diff changeset
2273 // = Little-endian, mips64, ABI 64, hard float
anatofuz
parents:
diff changeset
2274 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2275 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=64 -mhard-float \
anatofuz
parents:
diff changeset
2276 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2277 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-64-64 %s
anatofuz
parents:
diff changeset
2278 // CHECK-EL-HF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2279 // CHECK-EL-HF-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2280 // CHECK-EL-HF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2281 // CHECK-EL-HF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el"
anatofuz
parents:
diff changeset
2282 // CHECK-EL-HF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2283 // CHECK-EL-HF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2284 // CHECK-EL-HF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2285 // CHECK-EL-HF-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2286 // CHECK-EL-HF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2287 // CHECK-EL-HF-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2288 // CHECK-EL-HF-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2289 // CHECK-EL-HF-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/el"
anatofuz
parents:
diff changeset
2290 // CHECK-EL-HF-64-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2291 // CHECK-EL-HF-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2292 // CHECK-EL-HF-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2293 // CHECK-EL-HF-64-64: "[[TC]]/mips64/64/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2294 // CHECK-EL-HF-64-64: "-L[[TC]]/mips64/64/el"
anatofuz
parents:
diff changeset
2295 // CHECK-EL-HF-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/el"
anatofuz
parents:
diff changeset
2296 // CHECK-EL-HF-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/el/usr/lib"
anatofuz
parents:
diff changeset
2297 // CHECK-EL-HF-64-64: "[[TC]]/mips64/64/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2298 // CHECK-EL-HF-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2299 //
anatofuz
parents:
diff changeset
2300 // = Little-endian, mips64, ABI 64, fp64, hard float
anatofuz
parents:
diff changeset
2301 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2302 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=64 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
2303 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2304 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-64-64 %s
anatofuz
parents:
diff changeset
2305 // CHECK-EL-HF64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2306 // CHECK-EL-HF64-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2307 // CHECK-EL-HF64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2308 // CHECK-EL-HF64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el"
anatofuz
parents:
diff changeset
2309 // CHECK-EL-HF64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2310 // CHECK-EL-HF64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2311 // CHECK-EL-HF64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2312 // CHECK-EL-HF64-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2313 // CHECK-EL-HF64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2314 // CHECK-EL-HF64-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2315 // CHECK-EL-HF64-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2316 // CHECK-EL-HF64-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/el"
anatofuz
parents:
diff changeset
2317 // CHECK-EL-HF64-64-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2318 // CHECK-EL-HF64-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2319 // CHECK-EL-HF64-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2320 // CHECK-EL-HF64-64-64: "[[TC]]/mips64/64/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2321 // CHECK-EL-HF64-64-64: "-L[[TC]]/mips64/64/el"
anatofuz
parents:
diff changeset
2322 // CHECK-EL-HF64-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/el"
anatofuz
parents:
diff changeset
2323 // CHECK-EL-HF64-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/el/usr/lib"
anatofuz
parents:
diff changeset
2324 // CHECK-EL-HF64-64-64: "[[TC]]/mips64/64/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2325 // CHECK-EL-HF64-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2326 //
anatofuz
parents:
diff changeset
2327 // = Little-endian, mips64, ABI 64, soft float
anatofuz
parents:
diff changeset
2328 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2329 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=64 -msoft-float \
anatofuz
parents:
diff changeset
2330 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2331 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-64-64 %s
anatofuz
parents:
diff changeset
2332 // CHECK-EL-SF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2333 // CHECK-EL-SF-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2334 // CHECK-EL-SF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2335 // CHECK-EL-SF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el/sof"
anatofuz
parents:
diff changeset
2336 // CHECK-EL-SF-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2337 // CHECK-EL-SF-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2338 // CHECK-EL-SF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2339 // CHECK-EL-SF-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2340 // CHECK-EL-SF-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2341 // CHECK-EL-SF-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2342 // CHECK-EL-SF-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2343 // CHECK-EL-SF-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/el/sof"
anatofuz
parents:
diff changeset
2344 // CHECK-EL-SF-64-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2345 // CHECK-EL-SF-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2346 // CHECK-EL-SF-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2347 // CHECK-EL-SF-64-64: "[[TC]]/mips64/64/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2348 // CHECK-EL-SF-64-64: "-L[[TC]]/mips64/64/el/sof"
anatofuz
parents:
diff changeset
2349 // CHECK-EL-SF-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/el/sof"
anatofuz
parents:
diff changeset
2350 // CHECK-EL-SF-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/el/sof/usr/lib"
anatofuz
parents:
diff changeset
2351 // CHECK-EL-SF-64-64: "[[TC]]/mips64/64/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2352 // CHECK-EL-SF-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2353 //
anatofuz
parents:
diff changeset
2354 // = Little-endian, mips64, ABI 64, nan2008
anatofuz
parents:
diff changeset
2355 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2356 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=64 -mnan=2008 \
anatofuz
parents:
diff changeset
2357 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2358 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-64-64 %s
anatofuz
parents:
diff changeset
2359 // CHECK-EL-NAN-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2360 // CHECK-EL-NAN-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2361 // CHECK-EL-NAN-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2362 // CHECK-EL-NAN-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2363 // CHECK-EL-NAN-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2364 // CHECK-EL-NAN-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2365 // CHECK-EL-NAN-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2366 // CHECK-EL-NAN-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2367 // CHECK-EL-NAN-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2368 // CHECK-EL-NAN-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2369 // CHECK-EL-NAN-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2370 // CHECK-EL-NAN-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2371 // CHECK-EL-NAN-64-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2372 // CHECK-EL-NAN-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2373 // CHECK-EL-NAN-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2374 // CHECK-EL-NAN-64-64: "[[TC]]/mips64/64/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2375 // CHECK-EL-NAN-64-64: "-L[[TC]]/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2376 // CHECK-EL-NAN-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2377 // CHECK-EL-NAN-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2378 // CHECK-EL-NAN-64-64: "[[TC]]/mips64/64/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2379 // CHECK-EL-NAN-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2380 //
anatofuz
parents:
diff changeset
2381 // = Little-endian, mips64, ABI 64, fp64, nan2008
anatofuz
parents:
diff changeset
2382 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2383 // RUN: --target=mips64el-mti-linux-gnu -mips64 -mabi=64 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
2384 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2385 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-64-64 %s
anatofuz
parents:
diff changeset
2386 // CHECK-EL-NAN64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2387 // CHECK-EL-NAN64-64-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2388 // CHECK-EL-NAN64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2389 // CHECK-EL-NAN64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2390 // CHECK-EL-NAN64-64-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2391 // CHECK-EL-NAN64-64-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2392 // CHECK-EL-NAN64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2393 // CHECK-EL-NAN64-64-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2394 // CHECK-EL-NAN64-64-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2395 // CHECK-EL-NAN64-64-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2396 // CHECK-EL-NAN64-64-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2397 // CHECK-EL-NAN64-64-64: "--sysroot=[[TC]]/../../../../sysroot/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2398 // CHECK-EL-NAN64-64-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2399 // CHECK-EL-NAN64-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2400 // CHECK-EL-NAN64-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2401 // CHECK-EL-NAN64-64-64: "[[TC]]/mips64/64/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2402 // CHECK-EL-NAN64-64-64: "-L[[TC]]/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2403 // CHECK-EL-NAN64-64-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64/64/el/nan2008"
anatofuz
parents:
diff changeset
2404 // CHECK-EL-NAN64-64-64: "-L[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2405 // CHECK-EL-NAN64-64-64: "[[TC]]/mips64/64/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2406 // CHECK-EL-NAN64-64-64: "[[TC]]/../../../../sysroot/mips64/64/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2407 //
anatofuz
parents:
diff changeset
2408 // = Little-endian, mips64r2, ABI n32, hard float
anatofuz
parents:
diff changeset
2409 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2410 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=n32 -mhard-float \
anatofuz
parents:
diff changeset
2411 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2412 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-64R2-N32 %s
anatofuz
parents:
diff changeset
2413 // CHECK-EL-HF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2414 // CHECK-EL-HF-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2415 // CHECK-EL-HF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2416 // CHECK-EL-HF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el"
anatofuz
parents:
diff changeset
2417 // CHECK-EL-HF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2418 // CHECK-EL-HF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2419 // CHECK-EL-HF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2420 // CHECK-EL-HF-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2421 // CHECK-EL-HF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2422 // CHECK-EL-HF-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2423 // CHECK-EL-HF-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2424 // CHECK-EL-HF-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/el"
anatofuz
parents:
diff changeset
2425 // CHECK-EL-HF-64R2-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
2426 // CHECK-EL-HF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2427 // CHECK-EL-HF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2428 // CHECK-EL-HF-64R2-N32: "[[TC]]/mips64r2/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2429 // CHECK-EL-HF-64R2-N32: "-L[[TC]]/mips64r2/el"
anatofuz
parents:
diff changeset
2430 // CHECK-EL-HF-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/el"
anatofuz
parents:
diff changeset
2431 // CHECK-EL-HF-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/el/usr/lib"
anatofuz
parents:
diff changeset
2432 // CHECK-EL-HF-64R2-N32: "[[TC]]/mips64r2/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2433 // CHECK-EL-HF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2434 //
anatofuz
parents:
diff changeset
2435 // = Little-endian, mips64r2, ABI n32, fp64, hard float
anatofuz
parents:
diff changeset
2436 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2437 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=n32 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
2438 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2439 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-64R2-N32 %s
anatofuz
parents:
diff changeset
2440 // CHECK-EL-HF64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2441 // CHECK-EL-HF64-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2442 // CHECK-EL-HF64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2443 // CHECK-EL-HF64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el"
anatofuz
parents:
diff changeset
2444 // CHECK-EL-HF64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2445 // CHECK-EL-HF64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2446 // CHECK-EL-HF64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2447 // CHECK-EL-HF64-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2448 // CHECK-EL-HF64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2449 // CHECK-EL-HF64-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2450 // CHECK-EL-HF64-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2451 // CHECK-EL-HF64-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/el"
anatofuz
parents:
diff changeset
2452 // CHECK-EL-HF64-64R2-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
2453 // CHECK-EL-HF64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2454 // CHECK-EL-HF64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2455 // CHECK-EL-HF64-64R2-N32: "[[TC]]/mips64r2/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2456 // CHECK-EL-HF64-64R2-N32: "-L[[TC]]/mips64r2/el"
anatofuz
parents:
diff changeset
2457 // CHECK-EL-HF64-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/el"
anatofuz
parents:
diff changeset
2458 // CHECK-EL-HF64-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/el/usr/lib"
anatofuz
parents:
diff changeset
2459 // CHECK-EL-HF64-64R2-N32: "[[TC]]/mips64r2/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2460 // CHECK-EL-HF64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2461 //
anatofuz
parents:
diff changeset
2462 // = Little-endian, mips64r2, ABI n32, soft float
anatofuz
parents:
diff changeset
2463 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2464 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=n32 -msoft-float \
anatofuz
parents:
diff changeset
2465 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2466 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-64R2-N32 %s
anatofuz
parents:
diff changeset
2467 // CHECK-EL-SF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2468 // CHECK-EL-SF-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2469 // CHECK-EL-SF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2470 // CHECK-EL-SF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el/sof"
anatofuz
parents:
diff changeset
2471 // CHECK-EL-SF-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2472 // CHECK-EL-SF-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2473 // CHECK-EL-SF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2474 // CHECK-EL-SF-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2475 // CHECK-EL-SF-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2476 // CHECK-EL-SF-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2477 // CHECK-EL-SF-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2478 // CHECK-EL-SF-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/el/sof"
anatofuz
parents:
diff changeset
2479 // CHECK-EL-SF-64R2-N32: "-dynamic-linker" "/lib32/ld.so.1"
anatofuz
parents:
diff changeset
2480 // CHECK-EL-SF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2481 // CHECK-EL-SF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2482 // CHECK-EL-SF-64R2-N32: "[[TC]]/mips64r2/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2483 // CHECK-EL-SF-64R2-N32: "-L[[TC]]/mips64r2/el/sof"
anatofuz
parents:
diff changeset
2484 // CHECK-EL-SF-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/el/sof"
anatofuz
parents:
diff changeset
2485 // CHECK-EL-SF-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/el/sof/usr/lib"
anatofuz
parents:
diff changeset
2486 // CHECK-EL-SF-64R2-N32: "[[TC]]/mips64r2/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2487 // CHECK-EL-SF-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2488 //
anatofuz
parents:
diff changeset
2489 // = Little-endian, mips64r2, ABI n32, nan2008
anatofuz
parents:
diff changeset
2490 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2491 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=n32 -mnan=2008 \
anatofuz
parents:
diff changeset
2492 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2493 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-64R2-N32 %s
anatofuz
parents:
diff changeset
2494 // CHECK-EL-NAN-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2495 // CHECK-EL-NAN-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2496 // CHECK-EL-NAN-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2497 // CHECK-EL-NAN-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2498 // CHECK-EL-NAN-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2499 // CHECK-EL-NAN-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2500 // CHECK-EL-NAN-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2501 // CHECK-EL-NAN-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2502 // CHECK-EL-NAN-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2503 // CHECK-EL-NAN-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2504 // CHECK-EL-NAN-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2505 // CHECK-EL-NAN-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2506 // CHECK-EL-NAN-64R2-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2507 // CHECK-EL-NAN-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2508 // CHECK-EL-NAN-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2509 // CHECK-EL-NAN-64R2-N32: "[[TC]]/mips64r2/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2510 // CHECK-EL-NAN-64R2-N32: "-L[[TC]]/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2511 // CHECK-EL-NAN-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2512 // CHECK-EL-NAN-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2513 // CHECK-EL-NAN-64R2-N32: "[[TC]]/mips64r2/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2514 // CHECK-EL-NAN-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2515 //
anatofuz
parents:
diff changeset
2516 // = Little-endian, mips64r2, ABI n32, fp64, nan2008
anatofuz
parents:
diff changeset
2517 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2518 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=n32 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
2519 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2520 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-64R2-N32 %s
anatofuz
parents:
diff changeset
2521 // CHECK-EL-NAN64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2522 // CHECK-EL-NAN64-64R2-N32: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2523 // CHECK-EL-NAN64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2524 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2525 // CHECK-EL-NAN64-64R2-N32: "-internal-isystem"
anatofuz
parents:
diff changeset
2526 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2527 // CHECK-EL-NAN64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2528 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/include"
anatofuz
parents:
diff changeset
2529 // CHECK-EL-NAN64-64R2-N32: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2530 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2531 // CHECK-EL-NAN64-64R2-N32: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2532 // CHECK-EL-NAN64-64R2-N32: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2533 // CHECK-EL-NAN64-64R2-N32: "-dynamic-linker" "/lib32/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2534 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2535 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2536 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/mips64r2/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2537 // CHECK-EL-NAN64-64R2-N32: "-L[[TC]]/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2538 // CHECK-EL-NAN64-64R2-N32: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/el/nan2008"
anatofuz
parents:
diff changeset
2539 // CHECK-EL-NAN64-64R2-N32: "-L[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2540 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/mips64r2/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2541 // CHECK-EL-NAN64-64R2-N32: "[[TC]]/../../../../sysroot/mips64r2/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2542 //
anatofuz
parents:
diff changeset
2543 // = Little-endian, mips64r2, ABI 64, hard float
anatofuz
parents:
diff changeset
2544 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2545 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=64 -mhard-float \
anatofuz
parents:
diff changeset
2546 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2547 // RUN: | FileCheck --check-prefix=CHECK-EL-HF-64R2-64 %s
anatofuz
parents:
diff changeset
2548 // CHECK-EL-HF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2549 // CHECK-EL-HF-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2550 // CHECK-EL-HF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2551 // CHECK-EL-HF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el"
anatofuz
parents:
diff changeset
2552 // CHECK-EL-HF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2553 // CHECK-EL-HF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2554 // CHECK-EL-HF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2555 // CHECK-EL-HF-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2556 // CHECK-EL-HF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2557 // CHECK-EL-HF-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2558 // CHECK-EL-HF-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2559 // CHECK-EL-HF-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/el"
anatofuz
parents:
diff changeset
2560 // CHECK-EL-HF-64R2-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2561 // CHECK-EL-HF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2562 // CHECK-EL-HF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2563 // CHECK-EL-HF-64R2-64: "[[TC]]/mips64r2/64/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2564 // CHECK-EL-HF-64R2-64: "-L[[TC]]/mips64r2/64/el"
anatofuz
parents:
diff changeset
2565 // CHECK-EL-HF-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/el"
anatofuz
parents:
diff changeset
2566 // CHECK-EL-HF-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib"
anatofuz
parents:
diff changeset
2567 // CHECK-EL-HF-64R2-64: "[[TC]]/mips64r2/64/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2568 // CHECK-EL-HF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2569 //
anatofuz
parents:
diff changeset
2570 // = Little-endian, mips64r2, ABI 64, fp64, hard float
anatofuz
parents:
diff changeset
2571 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2572 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=64 -mfp64 -mhard-float \
anatofuz
parents:
diff changeset
2573 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2574 // RUN: | FileCheck --check-prefix=CHECK-EL-HF64-64R2-64 %s
anatofuz
parents:
diff changeset
2575 // CHECK-EL-HF64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2576 // CHECK-EL-HF64-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2577 // CHECK-EL-HF64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2578 // CHECK-EL-HF64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el"
anatofuz
parents:
diff changeset
2579 // CHECK-EL-HF64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2580 // CHECK-EL-HF64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2581 // CHECK-EL-HF64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2582 // CHECK-EL-HF64-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2583 // CHECK-EL-HF64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2584 // CHECK-EL-HF64-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2585 // CHECK-EL-HF64-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2586 // CHECK-EL-HF64-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/el"
anatofuz
parents:
diff changeset
2587 // CHECK-EL-HF64-64R2-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2588 // CHECK-EL-HF64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2589 // CHECK-EL-HF64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2590 // CHECK-EL-HF64-64R2-64: "[[TC]]/mips64r2/64/el{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2591 // CHECK-EL-HF64-64R2-64: "-L[[TC]]/mips64r2/64/el"
anatofuz
parents:
diff changeset
2592 // CHECK-EL-HF64-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/el"
anatofuz
parents:
diff changeset
2593 // CHECK-EL-HF64-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib"
anatofuz
parents:
diff changeset
2594 // CHECK-EL-HF64-64R2-64: "[[TC]]/mips64r2/64/el{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2595 // CHECK-EL-HF64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2596 //
anatofuz
parents:
diff changeset
2597 // = Little-endian, mips64r2, ABI 64, soft float
anatofuz
parents:
diff changeset
2598 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2599 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=64 -msoft-float \
anatofuz
parents:
diff changeset
2600 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2601 // RUN: | FileCheck --check-prefix=CHECK-EL-SF-64R2-64 %s
anatofuz
parents:
diff changeset
2602 // CHECK-EL-SF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2603 // CHECK-EL-SF-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2604 // CHECK-EL-SF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2605 // CHECK-EL-SF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el/sof"
anatofuz
parents:
diff changeset
2606 // CHECK-EL-SF-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2607 // CHECK-EL-SF-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2608 // CHECK-EL-SF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2609 // CHECK-EL-SF-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2610 // CHECK-EL-SF-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2611 // CHECK-EL-SF-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2612 // CHECK-EL-SF-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2613 // CHECK-EL-SF-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/el/sof"
anatofuz
parents:
diff changeset
2614 // CHECK-EL-SF-64R2-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2615 // CHECK-EL-SF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/sof/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2616 // CHECK-EL-SF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/sof/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2617 // CHECK-EL-SF-64R2-64: "[[TC]]/mips64r2/64/el/sof{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2618 // CHECK-EL-SF-64R2-64: "-L[[TC]]/mips64r2/64/el/sof"
anatofuz
parents:
diff changeset
2619 // CHECK-EL-SF-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/el/sof"
anatofuz
parents:
diff changeset
2620 // CHECK-EL-SF-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/el/sof/usr/lib"
anatofuz
parents:
diff changeset
2621 // CHECK-EL-SF-64R2-64: "[[TC]]/mips64r2/64/el/sof{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2622 // CHECK-EL-SF-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/sof/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2623 //
anatofuz
parents:
diff changeset
2624 // = Little-endian, mips64r2, ABI 64, nan2008
anatofuz
parents:
diff changeset
2625 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2626 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=64 -mnan=2008 \
anatofuz
parents:
diff changeset
2627 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2628 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN-64R2-64 %s
anatofuz
parents:
diff changeset
2629 // CHECK-EL-NAN-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2630 // CHECK-EL-NAN-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2631 // CHECK-EL-NAN-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2632 // CHECK-EL-NAN-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2633 // CHECK-EL-NAN-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2634 // CHECK-EL-NAN-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2635 // CHECK-EL-NAN-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2636 // CHECK-EL-NAN-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2637 // CHECK-EL-NAN-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2638 // CHECK-EL-NAN-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2639 // CHECK-EL-NAN-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2640 // CHECK-EL-NAN-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2641 // CHECK-EL-NAN-64R2-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2642 // CHECK-EL-NAN-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2643 // CHECK-EL-NAN-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2644 // CHECK-EL-NAN-64R2-64: "[[TC]]/mips64r2/64/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2645 // CHECK-EL-NAN-64R2-64: "-L[[TC]]/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2646 // CHECK-EL-NAN-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2647 // CHECK-EL-NAN-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2648 // CHECK-EL-NAN-64R2-64: "[[TC]]/mips64r2/64/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2649 // CHECK-EL-NAN-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2650 //
anatofuz
parents:
diff changeset
2651 // = Little-endian, mips64r2, ABI 64, fp64, nan2008
anatofuz
parents:
diff changeset
2652 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2653 // RUN: --target=mips64el-mti-linux-gnu -mips64r2 -mabi=64 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
2654 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2655 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-64R2-64 %s
anatofuz
parents:
diff changeset
2656 // CHECK-EL-NAN64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2657 // CHECK-EL-NAN64-64R2-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2658 // CHECK-EL-NAN64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2659 // CHECK-EL-NAN64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2660 // CHECK-EL-NAN64-64R2-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2661 // CHECK-EL-NAN64-64R2-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2662 // CHECK-EL-NAN64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2663 // CHECK-EL-NAN64-64R2-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2664 // CHECK-EL-NAN64-64R2-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2665 // CHECK-EL-NAN64-64R2-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2666 // CHECK-EL-NAN64-64R2-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2667 // CHECK-EL-NAN64-64R2-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2668 // CHECK-EL-NAN64-64R2-64: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2669 // CHECK-EL-NAN64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2670 // CHECK-EL-NAN64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2671 // CHECK-EL-NAN64-64R2-64: "[[TC]]/mips64r2/64/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2672 // CHECK-EL-NAN64-64R2-64: "-L[[TC]]/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2673 // CHECK-EL-NAN64-64R2-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2674 // CHECK-EL-NAN64-64R2-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2675 // CHECK-EL-NAN64-64R2-64: "[[TC]]/mips64r2/64/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2676 // CHECK-EL-NAN64-64R2-64: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2677 //
anatofuz
parents:
diff changeset
2678 // = Little-endian, default (mips64r2), ABI 64, fp64, nan2008
anatofuz
parents:
diff changeset
2679 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2680 // RUN: --target=mips64el-mti-linux-gnu -mabi=64 -mfp64 -mnan=2008 \
anatofuz
parents:
diff changeset
2681 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2682 // RUN: | FileCheck --check-prefix=CHECK-EL-NAN64-64R2-64-DEF %s
anatofuz
parents:
diff changeset
2683 // CHECK-EL-NAN64-64R2-64-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
2684 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2685 // CHECK-EL-NAN64-64R2-64-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
2686 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2687 // CHECK-EL-NAN64-64R2-64-DEF: "-internal-isystem"
anatofuz
parents:
diff changeset
2688 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2689 // CHECK-EL-NAN64-64R2-64-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2690 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/include"
anatofuz
parents:
diff changeset
2691 // CHECK-EL-NAN64-64R2-64-DEF: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2692 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2693 // CHECK-EL-NAN64-64R2-64-DEF: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2694 // CHECK-EL-NAN64-64R2-64-DEF: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2695 // CHECK-EL-NAN64-64R2-64-DEF: "-dynamic-linker" "/lib64/ld-linux-mipsn8.so.1"
anatofuz
parents:
diff changeset
2696 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2697 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2698 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/mips64r2/64/el/nan2008{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2699 // CHECK-EL-NAN64-64R2-64-DEF: "-L[[TC]]/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2700 // CHECK-EL-NAN64-64R2-64-DEF: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64/el/nan2008"
anatofuz
parents:
diff changeset
2701 // CHECK-EL-NAN64-64R2-64-DEF: "-L[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib"
anatofuz
parents:
diff changeset
2702 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/mips64r2/64/el/nan2008{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2703 // CHECK-EL-NAN64-64R2-64-DEF: "[[TC]]/../../../../sysroot/mips64r2/64/el/nan2008/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2704 //
anatofuz
parents:
diff changeset
2705 // Check that mips32r3 and mips32r5 are equal to mips32r2
anatofuz
parents:
diff changeset
2706 //
anatofuz
parents:
diff changeset
2707 // = Big-endian, mips32r3, hard float
anatofuz
parents:
diff changeset
2708 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2709 // RUN: --target=mips-mti-linux-gnu -mips32r3 -mhard-float \
anatofuz
parents:
diff changeset
2710 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2711 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-32R3 %s
anatofuz
parents:
diff changeset
2712 // CHECK-BE-HF-32R3: "-internal-isystem"
anatofuz
parents:
diff changeset
2713 // CHECK-BE-HF-32R3: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2714 // CHECK-BE-HF-32R3: "-internal-isystem"
anatofuz
parents:
diff changeset
2715 // CHECK-BE-HF-32R3: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu"
anatofuz
parents:
diff changeset
2716 // CHECK-BE-HF-32R3: "-internal-isystem"
anatofuz
parents:
diff changeset
2717 // CHECK-BE-HF-32R3: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2718 // CHECK-BE-HF-32R3: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2719 // CHECK-BE-HF-32R3: "[[TC]]/include"
anatofuz
parents:
diff changeset
2720 // CHECK-BE-HF-32R3: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2721 // CHECK-BE-HF-32R3: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2722 // CHECK-BE-HF-32R3: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2723 // CHECK-BE-HF-32R3: "--sysroot=[[TC]]/../../../../sysroot"
anatofuz
parents:
diff changeset
2724 // CHECK-BE-HF-32R3: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
2725 // CHECK-BE-HF-32R3: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2726 // CHECK-BE-HF-32R3: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2727 // CHECK-BE-HF-32R3: "[[TC]]{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2728 // CHECK-BE-HF-32R3: "-L[[TC]]"
anatofuz
parents:
diff changeset
2729 // CHECK-BE-HF-32R3: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib"
anatofuz
parents:
diff changeset
2730 // CHECK-BE-HF-32R3: "-L[[TC]]/../../../../sysroot/usr/lib/../lib"
anatofuz
parents:
diff changeset
2731 // CHECK-BE-HF-32R3: "[[TC]]{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2732 // CHECK-BE-HF-32R3: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2733 //
anatofuz
parents:
diff changeset
2734 // = Big-endian, mips32r5, hard float
anatofuz
parents:
diff changeset
2735 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2736 // RUN: --target=mips-mti-linux-gnu -mips32r5 -mhard-float \
anatofuz
parents:
diff changeset
2737 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2738 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-32R5 %s
anatofuz
parents:
diff changeset
2739 // CHECK-BE-HF-32R5: "-internal-isystem"
anatofuz
parents:
diff changeset
2740 // CHECK-BE-HF-32R5: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2741 // CHECK-BE-HF-32R5: "-internal-isystem"
anatofuz
parents:
diff changeset
2742 // CHECK-BE-HF-32R5: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu"
anatofuz
parents:
diff changeset
2743 // CHECK-BE-HF-32R5: "-internal-isystem"
anatofuz
parents:
diff changeset
2744 // CHECK-BE-HF-32R5: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2745 // CHECK-BE-HF-32R5: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2746 // CHECK-BE-HF-32R5: "[[TC]]/include"
anatofuz
parents:
diff changeset
2747 // CHECK-BE-HF-32R5: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2748 // CHECK-BE-HF-32R5: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2749 // CHECK-BE-HF-32R5: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2750 // CHECK-BE-HF-32R5: "--sysroot=[[TC]]/../../../../sysroot"
anatofuz
parents:
diff changeset
2751 // CHECK-BE-HF-32R5: "-dynamic-linker" "/lib/ld.so.1"
anatofuz
parents:
diff changeset
2752 // CHECK-BE-HF-32R5: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2753 // CHECK-BE-HF-32R5: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2754 // CHECK-BE-HF-32R5: "[[TC]]{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2755 // CHECK-BE-HF-32R5: "-L[[TC]]"
anatofuz
parents:
diff changeset
2756 // CHECK-BE-HF-32R5: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/../lib"
anatofuz
parents:
diff changeset
2757 // CHECK-BE-HF-32R5: "-L[[TC]]/../../../../sysroot/usr/lib/../lib"
anatofuz
parents:
diff changeset
2758 // CHECK-BE-HF-32R5: "[[TC]]{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2759 // CHECK-BE-HF-32R5: "[[TC]]/../../../../sysroot/usr/lib/../lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2760 //
anatofuz
parents:
diff changeset
2761 // = Big-endian, mips64r3, ABI 64, hard float
anatofuz
parents:
diff changeset
2762 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2763 // RUN: --target=mips64-mti-linux-gnu -mips64r3 -mabi=64 -mhard-float \
anatofuz
parents:
diff changeset
2764 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2765 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-64R3-64 %s
anatofuz
parents:
diff changeset
2766 // CHECK-BE-HF-64R3-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2767 // CHECK-BE-HF-64R3-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2768 // CHECK-BE-HF-64R3-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2769 // CHECK-BE-HF-64R3-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64"
anatofuz
parents:
diff changeset
2770 // CHECK-BE-HF-64R3-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2771 // CHECK-BE-HF-64R3-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2772 // CHECK-BE-HF-64R3-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2773 // CHECK-BE-HF-64R3-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2774 // CHECK-BE-HF-64R3-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2775 // CHECK-BE-HF-64R3-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2776 // CHECK-BE-HF-64R3-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2777 // CHECK-BE-HF-64R3-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64"
anatofuz
parents:
diff changeset
2778 // CHECK-BE-HF-64R3-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2779 // CHECK-BE-HF-64R3-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2780 // CHECK-BE-HF-64R3-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2781 // CHECK-BE-HF-64R3-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2782 // CHECK-BE-HF-64R3-64: "-L[[TC]]/mips64r2/64"
anatofuz
parents:
diff changeset
2783 // CHECK-BE-HF-64R3-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64"
anatofuz
parents:
diff changeset
2784 // CHECK-BE-HF-64R3-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/usr/lib"
anatofuz
parents:
diff changeset
2785 // CHECK-BE-HF-64R3-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2786 // CHECK-BE-HF-64R3-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crtn.o"
anatofuz
parents:
diff changeset
2787 //
anatofuz
parents:
diff changeset
2788 // = Big-endian, mips64r5, ABI 64, hard float
anatofuz
parents:
diff changeset
2789 // RUN: %clang -no-canonical-prefixes %s -### -o %t.o 2>&1 \
anatofuz
parents:
diff changeset
2790 // RUN: --target=mips64-mti-linux-gnu -mips64r5 -mabi=64 -mhard-float \
anatofuz
parents:
diff changeset
2791 // RUN: -stdlib=libstdc++ --gcc-toolchain=%S/Inputs/mips_fsf_tree \
anatofuz
parents:
diff changeset
2792 // RUN: | FileCheck --check-prefix=CHECK-BE-HF-64R5-64 %s
anatofuz
parents:
diff changeset
2793 // CHECK-BE-HF-64R5-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2794 // CHECK-BE-HF-64R5-64: "[[TC:[^"]+/lib/gcc/mips-mti-linux-gnu/4.9.0]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0"
anatofuz
parents:
diff changeset
2795 // CHECK-BE-HF-64R5-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2796 // CHECK-BE-HF-64R5-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/mips-mti-linux-gnu/mips64r2/64"
anatofuz
parents:
diff changeset
2797 // CHECK-BE-HF-64R5-64: "-internal-isystem"
anatofuz
parents:
diff changeset
2798 // CHECK-BE-HF-64R5-64: "[[TC]]/../../../../mips-mti-linux-gnu/include/c++/4.9.0/backward"
anatofuz
parents:
diff changeset
2799 // CHECK-BE-HF-64R5-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2800 // CHECK-BE-HF-64R5-64: "[[TC]]/include"
anatofuz
parents:
diff changeset
2801 // CHECK-BE-HF-64R5-64: "-internal-externc-isystem"
anatofuz
parents:
diff changeset
2802 // CHECK-BE-HF-64R5-64: "[[TC]]/../../../../sysroot/usr/include"
anatofuz
parents:
diff changeset
2803 // CHECK-BE-HF-64R5-64: "{{.*}}ld{{(.exe)?}}"
anatofuz
parents:
diff changeset
2804 // CHECK-BE-HF-64R5-64: "--sysroot=[[TC]]/../../../../sysroot/mips64r2/64"
anatofuz
parents:
diff changeset
2805 // CHECK-BE-HF-64R5-64: "-dynamic-linker" "/lib64/ld.so.1"
anatofuz
parents:
diff changeset
2806 // CHECK-BE-HF-64R5-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crt1.o"
anatofuz
parents:
diff changeset
2807 // CHECK-BE-HF-64R5-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crti.o"
anatofuz
parents:
diff changeset
2808 // CHECK-BE-HF-64R5-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtbegin.o"
anatofuz
parents:
diff changeset
2809 // CHECK-BE-HF-64R5-64: "-L[[TC]]/mips64r2/64"
anatofuz
parents:
diff changeset
2810 // CHECK-BE-HF-64R5-64: "-L[[TC]]/../../../../mips-mti-linux-gnu/lib/mips64r2/64"
anatofuz
parents:
diff changeset
2811 // CHECK-BE-HF-64R5-64: "-L[[TC]]/../../../../sysroot/mips64r2/64/usr/lib"
anatofuz
parents:
diff changeset
2812 // CHECK-BE-HF-64R5-64: "[[TC]]/mips64r2/64{{/|\\\\}}crtend.o"
anatofuz
parents:
diff changeset
2813 // CHECK-BE-HF-64R5-64: "[[TC]]/../../../../sysroot/mips64r2/64/usr/lib{{/|\\\\}}crtn.o"