brintos

brintos / llvm-project-archived public Read only

0
0
Text · 810 B · b06920f Raw
20 lines · c
1// RUN: %clang -### --target=x86_64-unknown-uefi -g -- %s 2>&1 \2// RUN:     | FileCheck -check-prefixes=CHECK %s3// RUN: %clang_cl -### --target=x86_64-unknown-uefi -g -- %s 2>&1 \4// RUN:     | FileCheck -check-prefixes=CHECK %s5// CHECK: "-cc1"6// CHECK-SAME: "-triple" "x86_64-unknown-uefi"7// CHECK-SAME: "-mrelocation-model" "pic" "-pic-level" "2"8// CHECK-SAME: "-mframe-pointer=all"9// CHECK-SAME: "-fms-extensions"10// CHECK-NEXT: "/nologo"11// CHECK-SAME: "/subsystem:efi_application"12// CHECK-SAME: "/entry:EfiMain"13// CHECK-SAME: "/tsaware:no"14// CHECK-SAME: "/debug"15 16// RUN: %clang -### --target=x86_64-unknown-uefi -print-search-dirs 2>&1 \17// RUN:     | FileCheck -check-prefixes=PROGPATH %s18// PROGPATH: InstalledDir: [[DRIVER_INSTALLED_DIR:.*]]19// PROGPATH: programs: =[[DRIVER_INSTALLED_DIR]]20