[llvm] [objcopy] Add aliases to some llvm-objcopy --subsystem options (PR #98036)

Victor Campos via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 9 05:14:24 PDT 2024


================
@@ -30,6 +30,15 @@
 # INVALID-MAJOR-NUMBER: 'foo' is not a valid subsystem major version
 # INVALID-MINOR-NUMBER: 'bar' is not a valid subsystem minor version
 
+# RUN: llvm-objcopy --subsystem=efi_application %t.in.exe
+# RUN: llvm-objcopy --subsystem=efi-app %t.in.exe
+
+# RUN: llvm-objcopy --subsystem=efi_boot_service_driver %t.in.exe
+# RUN: llvm-objcopy --subsystem=efi-bsd %t.in.exe
+
+# RUN: llvm-objcopy --subsystem=efi_runtime_driver %t.in.exe
+# RUN: llvm-objcopy --subsystem=efi-rtd %t.in.exe
----------------
vhscampos wrote:

Thanks. I've amended the test to check for the actual output too.

https://github.com/llvm/llvm-project/pull/98036


More information about the llvm-commits mailing list