File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 28
28
# CHECK-ERROR-DAG: error: unsupported option '-fmultilib-flag=singlethreaded'
29
29
# CHECK-ERROR-DAG: error: unsupported option '-fmultilib-flag=no-io'; did you mean '-fmultilib-flag=io-none'?
30
30
31
+ # RUN: %clang --multi-lib-config=%s -no-canonical-prefixes -x c %s -### -o /dev/null 2>&1 \
32
+ # RUN: --target=thumbv8m.main-none-eabi -mfpu=none -print-multi-lib --sysroot= \
33
+ # RUN: | FileCheck --check-prefix=CHECK-PRINT-MULTI-LIB %s
34
+ # CHECK-PRINT-MULTI-LIB: arm-none-eabi/thumb/v8-m.main/nofp;@-target=thumbv8m.main-unknown-none-eabi@mfpu=none@fmultilib-flag=no-multithreaded@D__SINGLE_THREAD__
35
+ # CHECK-PRINT-MULTI-LIB: arm-none-eabi/multithreaded/thumb/v8-m.main/nofp;@-target=thumbv8m.main-unknown-none-eabi@mfpu=none@fmultilib-flag=multithreaded
31
36
---
32
37
MultilibVersion : 1.0
33
38
47
52
- Name : multithreading
48
53
Values :
49
54
- Name : no-multithreaded
55
+ ExtraBuildArgs : [-D__SINGLE_THREAD__]
50
56
- Name : multithreaded
51
57
Default : no-multithreaded
52
58
- Name : io
You can’t perform that action at this time.
0 commit comments