brintos

brintos / llvm-project-archived public Read only

0
0
Text · 697 B · 851ed09 Raw
22 lines · plain
1! UNSUPPORTED: system-windows2! REQUIRES: lld3! check flto-partitions is passed to lld, and not to fc14! RUN: %flang -### -fuse-ld=lld -flto=full -flto-partitions=16 %s 2>&1 | FileCheck %s --check-prefixes=LLD-PART,FC1-PART5 6! FC1-PART: "-fc1"7! FC1-PART-SAME: "-flto=full"8! NOT-FC1-PART-SAME: "-flto-partitions=16"9! LLD-PART: ld.lld10! LLD-PART-SAME: "--lto-partitions=16"11 12! check fat-lto-objects is passed to lld, fc113! RUN: %flang -### -fuse-ld=lld -flto -ffat-lto-objects %s 2>&1 | FileCheck %s --check-prefixes=LLD-FAT,FC1-FAT14 15! FC1-FAT: "-fc1"16! FC1-FAT-SAME: "-flto=full"17! FC1-FAT-SAME: "-ffat-lto-objects"18! LLD-FAT: ld.lld19! LLD-FAT-SAME: "--fat-lto-objects"20program test21end program22