You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
533 B
9 lines
533 B
// REQUIRES: riscv-registered-target
|
|
// RUN: %clang -S -target riscv32-unknown-elf -fpic -msmall-data-limit=8 %s 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=CHECK-PIC-SDATA %s
|
|
// CHECK-PIC-SDATA: warning: ignoring '-msmall-data-limit=' with -mcmodel=large for -fpic or RV64
|
|
|
|
// RUN: %clang -S -target riscv64-unknown-elf -mcmodel=large -msmall-data-limit=8 %s 2>&1 \
|
|
// RUN: | FileCheck -check-prefix=CHECK-RV64-LARGE-SDATA %s
|
|
// CHECK-RV64-LARGE-SDATA: warning: ignoring '-msmall-data-limit=' with -mcmodel=large for -fpic or RV64
|