[llvm] [llvm] No DWARF CFI for UEFI (PR #138602)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Mon May 5 21:08:50 PDT 2025


================
@@ -2431,7 +2431,8 @@ void X86FrameLowering::emitEpilogue(MachineFunction &MF,
   uint64_t NumBytes = 0;
 
   bool NeedsDwarfCFI = (!MF.getTarget().getTargetTriple().isOSDarwin() &&
-                        !MF.getTarget().getTargetTriple().isOSWindows()) &&
+                        !MF.getTarget().getTargetTriple().isOSWindows() &&
----------------
MaskRay wrote:

Needs a test. You might check whether there is a test that covers isOSDarwin/isOSWindows

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


More information about the llvm-commits mailing list