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) {
106
106
if (!EnablePatchPointLiveness)
107
107
return false ;
108
108
109
- LLVM_DEBUG (dbgs () << " ********** COMPUTING STACKMAP LIVENESS: "
110
- << MF.getName () << " **********\n " );
111
109
TRI = MF.getSubtarget ().getRegisterInfo ();
112
110
++NumStackMapFuncVisited;
113
111
@@ -121,6 +119,8 @@ bool StackMapLiveness::runOnMachineFunction(MachineFunction &MF) {
121
119
122
120
// / Performs the actual liveness calculation for the function.
123
121
bool StackMapLiveness::calculateLiveness (MachineFunction &MF) {
122
+ LLVM_DEBUG (dbgs () << " ********** COMPUTING STACKMAP LIVENESS: "
123
+ << MF.getName () << " **********\n " );
124
124
bool HasChanged = false ;
125
125
// For all basic blocks in the function.
126
126
for (auto &MBB : MF) {
Original file line number Diff line number Diff line change @@ -57,8 +57,6 @@ char X86LoadValueInjectionRetHardeningPass::ID = 0;
57
57
58
58
bool X86LoadValueInjectionRetHardeningPass::runOnMachineFunction (
59
59
MachineFunction &MF) {
60
- LLVM_DEBUG (dbgs () << " ***** " << getPassName () << " : " << MF.getName ()
61
- << " *****\n " );
62
60
const X86Subtarget *Subtarget = &MF.getSubtarget <X86Subtarget>();
63
61
if (!Subtarget->useLVIControlFlowIntegrity () || !Subtarget->is64Bit ())
64
62
return false ; // FIXME: support 32-bit
@@ -68,6 +66,8 @@ bool X86LoadValueInjectionRetHardeningPass::runOnMachineFunction(
68
66
if (!F.hasOptNone () && skipFunction (F))
69
67
return false ;
70
68
69
+ LLVM_DEBUG (dbgs () << " ***** " << getPassName () << " : " << MF.getName ()
70
+ << " *****\n " );
71
71
++NumFunctionsConsidered;
72
72
const X86RegisterInfo *TRI = Subtarget->getRegisterInfo ();
73
73
const X86InstrInfo *TII = Subtarget->getInstrInfo ();
You can’t perform that action at this time.
0 commit comments