File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -106,8 +106,6 @@ bool StackMapLiveness::runOnMachineFunction(MachineFunction &MF) {
106106  if  (!EnablePatchPointLiveness)
107107    return  false ;
108108
109-   LLVM_DEBUG (dbgs () << " ********** COMPUTING STACKMAP LIVENESS: " 
110-                     << MF.getName () << "  **********\n "  );
111109  TRI = MF.getSubtarget ().getRegisterInfo ();
112110  ++NumStackMapFuncVisited;
113111
@@ -121,6 +119,8 @@ bool StackMapLiveness::runOnMachineFunction(MachineFunction &MF) {
121119
122120// / Performs the actual liveness calculation for the function.
123121bool  StackMapLiveness::calculateLiveness (MachineFunction &MF) {
122+   LLVM_DEBUG (dbgs () << " ********** COMPUTING STACKMAP LIVENESS: " 
123+                     << MF.getName () << "  **********\n "  );
124124  bool  HasChanged = false ;
125125  //  For all basic blocks in the function.
126126  for  (auto  &MBB : MF) {
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ char X86LoadValueInjectionRetHardeningPass::ID = 0;
5757
5858bool  X86LoadValueInjectionRetHardeningPass::runOnMachineFunction (
5959    MachineFunction &MF) {
60-   LLVM_DEBUG (dbgs () << " ***** "   << getPassName () << "  : "   << MF.getName ()
61-                     << "  *****\n "  );
6260  const  X86Subtarget *Subtarget = &MF.getSubtarget <X86Subtarget>();
6361  if  (!Subtarget->useLVIControlFlowIntegrity () || !Subtarget->is64Bit ())
6462    return  false ; //  FIXME: support 32-bit
@@ -68,6 +66,8 @@ bool X86LoadValueInjectionRetHardeningPass::runOnMachineFunction(
6866  if  (!F.hasOptNone () && skipFunction (F))
6967    return  false ;
7068
69+   LLVM_DEBUG (dbgs () << " ***** "   << getPassName () << "  : "   << MF.getName ()
70+                     << "  *****\n "  );
7171  ++NumFunctionsConsidered;
7272  const  X86RegisterInfo *TRI = Subtarget->getRegisterInfo ();
7373  const  X86InstrInfo *TII = Subtarget->getInstrInfo ();
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments