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

via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 3 16:30:34 PDT 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:

Please see `clang/Driver/unittests/ToolchainTest.cpp`

https://github.com/llvm/llvm-project/pull/76838/files#diff-2a39548e3b4a62a12affcb6dbe9e8f563cddc2aa50aa7e24b94a1de0bb91be1eR578

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


More information about the cfe-commits mailing list