Files
clang-p2996/clang/test/Driver/uefi-constructed-args.c
Prabhu Rajasekaran 1b1e360b76 [NFC][clang] No sharedlibs for UEFI (#137872)
There is no support for shared libraries for UEFI target. Remove the
incorrect -dll flag set from UEFI toolchain.
2025-05-01 15:49:32 -07:00

15 lines
578 B
C

// RUN: %clang -### --target=x86_64-unknown-uefi -g -- %s 2>&1 \
// RUN: | FileCheck -check-prefixes=CHECK %s
// RUN: %clang_cl -### --target=x86_64-unknown-uefi -g -- %s 2>&1 \
// RUN: | FileCheck -check-prefixes=CHECK %s
// CHECK: "-cc1"
// CHECK-SAME: "-triple" "x86_64-unknown-uefi"
// CHECK-SAME: "-mrelocation-model" "pic" "-pic-level" "2"
// CHECK-SAME: "-mframe-pointer=all"
// CHECK-SAME: "-fms-extensions"
// CHECK-NEXT: "-nologo"
// CHECK-SAME: "-subsystem:efi_application"
// CHECK-SAME: "-entry:EfiMain"
// CHECK-SAME: "-tsaware:no"
// CHECK-SAME: "-debug"