[llvm] [CFIInstrInserter] A test showing the need to handle `cfi_escape`. (PR #128211)
    Mikhail Gudim via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Mon Feb 24 05:20:13 PST 2025
    
    
  
================
@@ -187,7 +192,10 @@ RISCVTargetMachine::RISCVTargetMachine(const Target &T, const Triple &TT,
   if (TT.isOSFuchsia() && !TT.isArch64Bit())
     report_fatal_error("Fuchsia is only supported for 64-bit");
 
-  setCFIFixup(true);
+  if (EnableCFIInstrInserter)
----------------
mgudim wrote:
that's awesome, thanks!
https://github.com/llvm/llvm-project/pull/128211
    
    
More information about the llvm-commits
mailing list