[clang] [UEFI] X86_64 UEFI Clang Driver (PR #76838)

via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 21 14:12:31 PST 2024


================
@@ -819,6 +819,43 @@ class LLVM_LIBRARY_VISIBILITY X86_64TargetInfo : public X86TargetInfo {
   }
 };
 
+// x86-64 UEFI target
+class LLVM_LIBRARY_VISIBILITY UEFIX86_64TargetInfo
+    : public UEFITargetInfo<X86_64TargetInfo> {
+public:
+  UEFIX86_64TargetInfo(const llvm::Triple &Triple, const TargetOptions &Opts)
+      : UEFITargetInfo<X86_64TargetInfo>(Triple, Opts) {
----------------
Prabhuk wrote:

I have added layout test to target-data.c. I am trying to figure out where to add a test for the calling convention.

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


More information about the cfe-commits mailing list