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 2828# CHECK-ERROR-DAG: error: unsupported option '-fmultilib-flag=singlethreaded'
2929# CHECK-ERROR-DAG: error: unsupported option '-fmultilib-flag=no-io'; did you mean '-fmultilib-flag=io-none'?
3030
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
3136---
3237MultilibVersion : 1.0
3338
4752 - Name : multithreading
4853 Values :
4954 - Name : no-multithreaded
55+ ExtraBuildArgs : [-D__SINGLE_THREAD__]
5056 - Name : multithreaded
5157 Default : no-multithreaded
5258 - Name : io
You can’t perform that action at this time.
0 commit comments