Skip to content

Commit 008b8e1

Browse files
Merge pull request #57 from adrian-prantl/56363999
Cherry-pick LiveDebugValues bugfix
2 parents 8c69892 + 7a232b1 commit 008b8e1

File tree

6 files changed

+294
-6
lines changed

6 files changed

+294
-6
lines changed

llvm/include/llvm/IR/DebugInfoMetadata.h

+4
Original file line numberDiff line numberDiff line change
@@ -2464,6 +2464,10 @@ class DIExpression : public MDNode {
24642464
/// Return whether this is an implicit location description.
24652465
bool isImplicit() const;
24662466

2467+
/// Return whether the location is computed on the expression stack, meaning
2468+
/// it cannot be a simple register location.
2469+
bool isComplex() const;
2470+
24672471
/// Append \p Ops with operations to apply the \p Offset.
24682472
static void appendOffset(SmallVectorImpl<uint64_t> &Ops, int64_t Offset);
24692473

llvm/lib/CodeGen/LiveDebugValues.cpp

+15-2
Original file line numberDiff line numberDiff line change
@@ -642,9 +642,17 @@ void LiveDebugValues::insertTransferDebugPair(
642642
"No register supplied when handling a restore of a debug value");
643643
MachineFunction *MF = MI.getMF();
644644
DIBuilder DIB(*const_cast<Function &>(MF->getFunction()).getParent());
645+
646+
const DIExpression *NewExpr;
647+
if (auto Fragment = DebugInstr->getDebugExpression()->getFragmentInfo())
648+
NewExpr = *DIExpression::createFragmentExpression(DIB.createExpression(),
649+
Fragment->OffsetInBits, Fragment->SizeInBits);
650+
else
651+
NewExpr = DIB.createExpression();
652+
645653
NewDebugInstr =
646654
BuildMI(*MF, DebugInstr->getDebugLoc(), DebugInstr->getDesc(), false,
647-
NewReg, DebugInstr->getDebugVariable(), DIB.createExpression());
655+
NewReg, DebugInstr->getDebugVariable(), NewExpr);
648656
VarLoc VL(*NewDebugInstr, LS);
649657
ProcessVarLoc(VL, NewDebugInstr);
650658
LLVM_DEBUG(dbgs() << "Creating DBG_VALUE inst for register restore: ";
@@ -792,9 +800,14 @@ void LiveDebugValues::transferSpillOrRestoreInst(MachineInstr &MI,
792800
<< "\n");
793801
}
794802
// Check if the register or spill location is the location of a debug value.
803+
// FIXME: Don't create a spill transfer if there is a complex expression,
804+
// because we currently cannot recover the original expression on restore.
795805
for (unsigned ID : OpenRanges.getVarLocs()) {
806+
const MachineInstr *DebugInstr = &VarLocIDs[ID].MI;
807+
796808
if (TKind == TransferKind::TransferSpill &&
797-
VarLocIDs[ID].isDescribedByReg() == Reg) {
809+
VarLocIDs[ID].isDescribedByReg() == Reg &&
810+
!DebugInstr->getDebugExpression()->isComplex()) {
798811
LLVM_DEBUG(dbgs() << "Spilling Register " << printReg(Reg, TRI) << '('
799812
<< VarLocIDs[ID].Var.getVar()->getName() << ")\n");
800813
} else if (TKind == TransferKind::TransferRestore &&

llvm/lib/CodeGen/PrologEpilogInserter.cpp

+11-2
Original file line numberDiff line numberDiff line change
@@ -1187,6 +1187,16 @@ void PEI::replaceFrameIndices(MachineBasicBlock *BB, MachineFunction &MF,
11871187
MI.getOperand(0).setIsDebug();
11881188

11891189
const DIExpression *DIExpr = MI.getDebugExpression();
1190+
1191+
// If we have a direct DBG_VALUE, and its location expression isn't
1192+
// currently complex, then adding an offset will morph it into a
1193+
// complex location that is interpreted as being a memory address.
1194+
// This changes a pointer-valued variable to dereference that pointer,
1195+
// which is incorrect. Fix by adding DW_OP_stack_value.
1196+
unsigned PrependFlags = DIExpression::ApplyOffset;
1197+
if (!MI.isIndirectDebugValue() && !DIExpr->isComplex())
1198+
PrependFlags |= DIExpression::StackValue;
1199+
11901200
// If we have DBG_VALUE that is indirect and has a Implicit location
11911201
// expression need to insert a deref before prepending a Memory
11921202
// location expression. Also after doing this we change the DBG_VALUE
@@ -1198,8 +1208,7 @@ void PEI::replaceFrameIndices(MachineBasicBlock *BB, MachineFunction &MF,
11981208
// Make the DBG_VALUE direct.
11991209
MI.getOperand(1).ChangeToRegister(0, false);
12001210
}
1201-
DIExpr =
1202-
DIExpression::prepend(DIExpr, DIExpression::ApplyOffset, Offset);
1211+
DIExpr = DIExpression::prepend(DIExpr, PrependFlags, Offset);
12031212
MI.getOperand(3).setMetadata(DIExpr);
12041213
continue;
12051214
}

llvm/lib/IR/DebugInfoMetadata.cpp

+21
Original file line numberDiff line numberDiff line change
@@ -918,6 +918,27 @@ bool DIExpression::isImplicit() const {
918918
return false;
919919
}
920920

921+
bool DIExpression::isComplex() const {
922+
if (!isValid())
923+
return false;
924+
925+
if (getNumElements() == 0)
926+
return false;
927+
928+
// If there are any elements other than fragment or tag_offset, then some
929+
// kind of complex computation occurs.
930+
for (const auto &It : expr_ops()) {
931+
switch (It.getOp()) {
932+
case dwarf::DW_OP_LLVM_tag_offset:
933+
case dwarf::DW_OP_LLVM_fragment:
934+
continue;
935+
default: return true;
936+
}
937+
}
938+
939+
return false;
940+
}
941+
921942
Optional<DIExpression::FragmentInfo>
922943
DIExpression::getFragmentInfo(expr_op_iterator Start, expr_op_iterator End) {
923944
for (auto I = Start; I != End; ++I)

llvm/test/DebugInfo/MIR/X86/live-debug-values-restore.mir

+113-2
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,17 @@
1414
# return *(p + 1);
1515
# }
1616

17+
# Pick out DILocalVariable numbers for "p" and "q"
18+
# CHECK: ![[PVAR:[0-9]+]] = !DILocalVariable(name: "p",
19+
# CHECK: ![[QVAR:[0-9]+]] = !DILocalVariable(name: "q",
20+
1721
# Ascertain that the spill has been recognized and manifested in a DBG_VALUE.
1822
# CHECK: MOV64mr $rsp,{{.*-8.*}}killed{{.*}}$rdi :: (store 8 into %stack.0)
19-
# CHECK-NEXT: DBG_VALUE $rsp,{{.*}}![[MDIX:[0-9]+]],{{.*}}!DIExpression(DW_OP_constu, 8, DW_OP_minus)
23+
# CHECK-NEXT: DBG_VALUE $rsp,{{.*}}![[PVAR]],{{.*}}!DIExpression(DW_OP_constu, 8, DW_OP_minus)
2024

2125
# Check for the restore.
2226
# CHECK: $rdi = MOV64rm $rsp,{{.*-8.*}}:: (load 8 from %stack.0)
23-
# CHECK-NEXT: DBG_VALUE $rdi,{{.*}}![[MDIX]], !DIExpression()
27+
# CHECK-NEXT: DBG_VALUE $rdi,{{.*}}![[PVAR]], !DIExpression()
2428

2529
--- |
2630
define dso_local i32 @f(i32* readonly %p) local_unnamed_addr !dbg !7 {
@@ -39,6 +43,22 @@
3943
ret i32 %0, !dbg !28
4044
}
4145

46+
define dso_local i32 @g(i32* readonly %p) local_unnamed_addr !dbg !107 {
47+
entry:
48+
call void @llvm.dbg.value(metadata i32* %p, metadata !113, metadata !DIExpression()), !dbg !114
49+
%tobool = icmp eq i32* %p, null, !dbg !115
50+
br i1 %tobool, label %if.end, label %if.then, !dbg !117
51+
52+
if.then: ; preds = %entry
53+
tail call void asm sideeffect "", "~{rax},~{rbx},~{rcx},~{rdx},~{rsi},~{rdi},~{rbp},~{r8},~{r9},~{r10},~{r11},~{r12},~{r13},~{r14},~{r15},~{dirflag},~{fpsr},~{flags}"(), !dbg !118, !srcloc !120
54+
br label %if.end, !dbg !121
55+
56+
if.end: ; preds = %entry, %if.then
57+
%add.ptr = getelementptr inbounds i32, i32* %p, i64 1, !dbg !122
58+
%0 = load i32, i32* %add.ptr, align 4, !dbg !123, !tbaa !24
59+
ret i32 %0, !dbg !128
60+
}
61+
4262
declare void @llvm.dbg.value(metadata, metadata, metadata)
4363

4464
!llvm.dbg.cu = !{!0}
@@ -74,6 +94,22 @@
7494
!26 = !{!"omnipotent char", !27, i64 0}
7595
!27 = !{!"Simple C/C++ TBAA"}
7696
!28 = !DILocation(line: 9, column: 3, scope: !7)
97+
!101 = !DIBasicType(name: "looong int", size: 64, encoding: DW_ATE_signed)
98+
!107 = distinct !DISubprogram(name: "g", scope: !1, file: !1, line: 105, type: !8, scopeLine: 105, flags: DIFlagPrototyped, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !0, retainedNodes: !112)
99+
!112 = !{!113}
100+
!113 = !DILocalVariable(name: "q", arg: 1, scope: !107, file: !1, line: 105, type: !101)
101+
!114 = !DILocation(line: 105, column: 12, scope: !107)
102+
!115 = !DILocation(line: 106, column: 7, scope: !116)
103+
!116 = distinct !DILexicalBlock(scope: !107, file: !1, line: 106, column: 7)
104+
!117 = !DILocation(line: 106, column: 7, scope: !107)
105+
!118 = !DILocation(line: 107, column: 5, scope: !119)
106+
!119 = distinct !DILexicalBlock(scope: !116, file: !1, line: 106, column: 10)
107+
!120 = !{i32 -2147471544}
108+
!121 = !DILocation(line: 108, column: 3, scope: !119)
109+
!122 = !DILocation(line: 109, column: 14, scope: !107)
110+
!123 = !DILocation(line: 109, column: 10, scope: !107)
111+
!128 = !DILocation(line: 109, column: 3, scope: !107)
112+
77113

78114
...
79115
---
@@ -187,3 +223,78 @@ body: |
187223
RETQ $eax, debug-location !28
188224
189225
...
226+
---
227+
# This second function has been appended as a regression test against a
228+
# crash, caused by expressions being created from spill restores that did
229+
# not preserve fragment information. Test that no empty expressions are
230+
# created at all, and the last block describes both variable fragments.
231+
232+
# CHECK-LABEL: name: g
233+
# CHECK-NOT: !DIExpression()
234+
# CHECK-LABEL: bb.2.if.end:
235+
# CHECK: DBG_VALUE $rdi, $noreg, ![[QVAR]], !DIExpression(DW_OP_LLVM_fragment, 0, 32)
236+
# CHECK-NEXT: DBG_VALUE $rbx, $noreg, ![[QVAR]], !DIExpression(DW_OP_LLVM_fragment, 32, 32)
237+
238+
name: g
239+
alignment: 4
240+
tracksRegLiveness: true
241+
liveins:
242+
- { reg: '$rdi', virtual-reg: '' }
243+
frameInfo:
244+
stackSize: 48
245+
offsetAdjustment: -48
246+
maxAlignment: 8
247+
cvBytesOfCalleeSavedRegisters: 48
248+
localFrameSize: 0
249+
fixedStack:
250+
- { id: 0, type: spill-slot, offset: -56, size: 8, alignment: 8, stack-id: default,
251+
callee-saved-register: '$rbx', callee-saved-restored: true, debug-info-variable: '',
252+
debug-info-expression: '', debug-info-location: '' }
253+
- { id: 1, type: spill-slot, offset: -48, size: 8, alignment: 16, stack-id: default,
254+
callee-saved-register: '$r12', callee-saved-restored: true, debug-info-variable: '',
255+
debug-info-expression: '', debug-info-location: '' }
256+
- { id: 2, type: spill-slot, offset: -40, size: 8, alignment: 8, stack-id: default,
257+
callee-saved-register: '$r13', callee-saved-restored: true, debug-info-variable: '',
258+
debug-info-expression: '', debug-info-location: '' }
259+
- { id: 3, type: spill-slot, offset: -32, size: 8, alignment: 16, stack-id: default,
260+
callee-saved-register: '$r14', callee-saved-restored: true, debug-info-variable: '',
261+
debug-info-expression: '', debug-info-location: '' }
262+
- { id: 4, type: spill-slot, offset: -24, size: 8, alignment: 8, stack-id: default,
263+
callee-saved-register: '$r15', callee-saved-restored: true, debug-info-variable: '',
264+
debug-info-expression: '', debug-info-location: '' }
265+
- { id: 5, type: spill-slot, offset: -16, size: 8, alignment: 16, stack-id: default,
266+
callee-saved-register: '$rbp', callee-saved-restored: true, debug-info-variable: '',
267+
debug-info-expression: '', debug-info-location: '' }
268+
stack:
269+
- { id: 0, name: '', type: spill-slot, offset: -64, size: 8, alignment: 8,
270+
stack-id: default, callee-saved-register: '', callee-saved-restored: true,
271+
debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
272+
constants: []
273+
body: |
274+
bb.0.entry:
275+
successors: %bb.1(0x50000000)
276+
liveins: $rdi, $rbx, $r12, $r13, $r14, $r15, $rbp
277+
278+
DBG_VALUE $rdi, $noreg, !113, !DIExpression(DW_OP_LLVM_fragment, 0, 32), debug-location !114
279+
TEST64rr renamable $rdi, renamable $rdi, implicit-def $eflags, debug-location !115
280+
JMP_1 %bb.1, implicit $eflags, debug-location !117
281+
282+
bb.1.if.then:
283+
successors: %bb.2(0x80000000)
284+
liveins: $rdi, $rbp, $r15, $r14, $r13, $r12, $rbx
285+
286+
MOV64mr $rsp, 1, $noreg, -8, $noreg, killed renamable $rdi :: (store 8 into %stack.0)
287+
renamable $rdi = MOV64rm $rsp, 1, $noreg, -8, $noreg :: (load 8 from %stack.0)
288+
289+
bb.2.if.end:
290+
liveins: $rdi, $rbx, $r12, $r13, $r14, $r15, $rbp
291+
292+
DBG_VALUE $rbx, $noreg, !113, !DIExpression(DW_OP_LLVM_fragment, 32, 32), debug-location !114
293+
MOV64mr $rsp, 1, $noreg, -8, $noreg, killed renamable $rbx :: (store 8 into %stack.0)
294+
renamable $rsi = MOV64rm $rsp, 1, $noreg, -8, $noreg :: (load 8 from %stack.0)
295+
296+
renamable $eax = MOV32rm killed renamable $rsi, 1, $noreg, 4, $noreg, debug-location !123 :: (load 4 from %ir.add.ptr, !tbaa !24)
297+
$rdi = MOV64ri 0
298+
RETQ $eax, debug-location !128
299+
300+
...
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,130 @@
1+
# RUN: llc %s -x mir -o - -mtriple=x86_64-unknown-unknown -run-pass=prologepilog | FileCheck %s
2+
#
3+
# Check when the DBG_VALUE on a stack slot below (for var "c") has its stack
4+
# slot replaced with $rsp and a complex expression, it has DW_OP_stack_value
5+
# added. A direct reference to the stack slot is considered to be the _address_
6+
# of that stack slot, wheras its contents would be an indirect DBG_VALUE.
7+
#
8+
# Check too that for the same DBG_VALUE inst, with an indirect reference to
9+
# the stack slot, we do _not_ get DW_OP_plus_uconst added. This expression
10+
# should remain indirect, referring to the contents of the stack slot.
11+
#
12+
# CHECK: ![[VAR:[0-9]+]] = !DILocalVariable(name: "c"
13+
# CHECK: ![[VAR2:[0-9]+]] = !DILocalVariable(name: "asdf"
14+
# CHECK: ![[VAR3:[0-9]+]] = !DILocalVariable(name: "bees"
15+
#
16+
# CHECK: LEA64r $rsp
17+
# CHECK-NEXT: DBG_VALUE $rsp, $noreg, ![[VAR]], !DIExpression(DW_OP_plus_uconst, {{[0-9]+}}, DW_OP_stack_value)
18+
# CHECK-NEXT: DBG_VALUE $rsp, $noreg, ![[VAR2]], !DIExpression(DW_OP_plus_uconst, {{[0-9]+}}, DW_OP_stack_value, DW_OP_LLVM_fragment, 1, 2)
19+
# CHECK-NEXT: DBG_VALUE $rsp, $noreg, ![[VAR3]], !DIExpression(DW_OP_plus_uconst, {{[0-9]+}}, DW_OP_LLVM_tag_offset, 0, DW_OP_stack_value)
20+
# CHECK-NEXT: DBG_VALUE 1834104526
21+
# CHECK-NEXT: MOV64mr
22+
# CHECK-NEXT: DBG_VALUE $rsp, 0, ![[VAR]], !DIExpression(DW_OP_plus_uconst, {{[0-9]+}})
23+
24+
--- |
25+
; ModuleID = 'out.ll'
26+
source_filename = "abc.c"
27+
target datalayout = "e-m:e-i64:64-f80:128-n8:16:32:64-S128"
28+
target triple = "x86_64-unknown-linux-gnu"
29+
30+
@b = common dso_local local_unnamed_addr global i32* null, align 8, !dbg !0
31+
@a = common dso_local local_unnamed_addr global i32 0, align 4, !dbg !6
32+
33+
; Function Attrs: nounwind uwtable
34+
define dso_local i32 @main() local_unnamed_addr !dbg !14 {
35+
entry:
36+
%l_1081 = alloca i32, align 4
37+
%0 = bitcast i32* %l_1081 to i8*, !dbg !20
38+
call void @llvm.lifetime.start.p0i8(i64 4, i8* nonnull %0), !dbg !20
39+
call void @llvm.dbg.value(metadata i32 1834104526, metadata !18, metadata !DIExpression()), !dbg !21
40+
call void @llvm.dbg.value(metadata i32* %l_1081, metadata !19, metadata !DIExpression()), !dbg !21
41+
store i32* %l_1081, i32** @b, align 8, !dbg !22, !tbaa !23
42+
store i32 9, i32* @a, align 4, !dbg !27, !tbaa !28
43+
store i32 9, i32* %l_1081, align 4, !dbg !30, !tbaa !28
44+
%call = call i32 (...) @optimize_me_not(), !dbg !31
45+
call void @llvm.lifetime.end.p0i8(i64 4, i8* nonnull %0), !dbg !32
46+
ret i32 0, !dbg !32
47+
}
48+
49+
; Function Attrs: argmemonly nounwind
50+
declare void @llvm.lifetime.start.p0i8(i64 immarg, i8* nocapture)
51+
52+
declare dso_local i32 @optimize_me_not(...) local_unnamed_addr
53+
54+
; Function Attrs: argmemonly nounwind
55+
declare void @llvm.lifetime.end.p0i8(i64 immarg, i8* nocapture)
56+
57+
; Function Attrs: nounwind readnone speculatable
58+
declare void @llvm.dbg.value(metadata, metadata, metadata)
59+
60+
!llvm.dbg.cu = !{!2}
61+
!llvm.module.flags = !{!10, !11, !12}
62+
!llvm.ident = !{!13}
63+
64+
!0 = !DIGlobalVariableExpression(var: !1, expr: !DIExpression())
65+
!1 = distinct !DIGlobalVariable(name: "b", scope: !2, file: !3, line: 2, type: !9, isLocal: false, isDefinition: true)
66+
!2 = distinct !DICompileUnit(language: DW_LANG_C99, file: !3, producer: "clang", isOptimized: true, runtimeVersion: 0, emissionKind: FullDebug, enums: !4, globals: !5, nameTableKind: None)
67+
!3 = !DIFile(filename: "abc.c", directory: ".")
68+
!4 = !{}
69+
!5 = !{!6, !0}
70+
!6 = !DIGlobalVariableExpression(var: !7, expr: !DIExpression())
71+
!7 = distinct !DIGlobalVariable(name: "a", scope: !2, file: !3, line: 1, type: !8, isLocal: false, isDefinition: true)
72+
!8 = !DIBasicType(name: "int", size: 32, encoding: DW_ATE_signed)
73+
!9 = !DIDerivedType(tag: DW_TAG_pointer_type, baseType: !8, size: 64)
74+
!10 = !{i32 2, !"Dwarf Version", i32 4}
75+
!11 = !{i32 2, !"Debug Info Version", i32 3}
76+
!12 = !{i32 1, !"wchar_size", i32 4}
77+
!13 = !{!"clang"}
78+
!14 = distinct !DISubprogram(name: "main", scope: !3, file: !3, line: 3, type: !15, scopeLine: 3, spFlags: DISPFlagDefinition | DISPFlagOptimized, unit: !2, retainedNodes: !17)
79+
!15 = !DISubroutineType(types: !16)
80+
!16 = !{!8}
81+
!17 = !{!18, !19, !33, !34}
82+
!18 = !DILocalVariable(name: "l_1081", scope: !14, file: !3, line: 4, type: !8)
83+
!19 = !DILocalVariable(name: "c", scope: !14, file: !3, line: 5, type: !9)
84+
!20 = !DILocation(line: 4, column: 3, scope: !14)
85+
!21 = !DILocation(line: 0, scope: !14)
86+
!22 = !DILocation(line: 6, column: 5, scope: !14)
87+
!23 = !{!24, !24, i64 0}
88+
!24 = !{!"any pointer", !25, i64 0}
89+
!25 = !{!"omnipotent char", !26, i64 0}
90+
!26 = !{!"Simple C/C++ TBAA"}
91+
!27 = !DILocation(line: 7, column: 10, scope: !14)
92+
!28 = !{!29, !29, i64 0}
93+
!29 = !{!"int", !25, i64 0}
94+
!30 = !DILocation(line: 7, column: 6, scope: !14)
95+
!31 = !DILocation(line: 8, column: 3, scope: !14)
96+
!32 = !DILocation(line: 9, column: 1, scope: !14)
97+
!33 = !DILocalVariable(name: "asdf", scope: !14, file: !3, line: 4, type: !8)
98+
!34 = !DILocalVariable(name: "bees", scope: !14, file: !3, line: 4, type: !8)
99+
100+
...
101+
---
102+
name: main
103+
alignment: 4
104+
tracksRegLiveness: true
105+
frameInfo:
106+
maxAlignment: 4
107+
hasCalls: true
108+
stack:
109+
- { id: 0, name: l_1081, type: default, offset: 0, size: 4, alignment: 4,
110+
callee-saved-register: '', callee-saved-restored: true,
111+
debug-info-variable: '', debug-info-expression: '', debug-info-location: '' }
112+
body: |
113+
bb.0.entry:
114+
renamable $rax = LEA64r %stack.0.l_1081, 1, $noreg, 0, $noreg
115+
DBG_VALUE %stack.0.l_1081, $noreg, !19, !DIExpression(), debug-location !21
116+
DBG_VALUE %stack.0.l_1081, $noreg, !33, !DIExpression(DW_OP_LLVM_fragment, 1, 2), debug-location !21
117+
DBG_VALUE %stack.0.l_1081, $noreg, !34, !DIExpression(DW_OP_LLVM_tag_offset, 0), debug-location !21
118+
DBG_VALUE 1834104526, $noreg, !18, !DIExpression(), debug-location !21
119+
MOV64mr $rip, 1, $noreg, @b, $noreg, killed renamable $rax, debug-location !22 :: (store 8 into @b, !tbaa !23)
120+
DBG_VALUE %stack.0.l_1081, 0, !19, !DIExpression(), debug-location !21
121+
MOV32mi $rip, 1, $noreg, @a, $noreg, 9, debug-location !27 :: (store 4 into @a, !tbaa !28)
122+
MOV32mi %stack.0.l_1081, 1, $noreg, 0, $noreg, 9, debug-location !30 :: (store 4 into %ir.l_1081, !tbaa !28)
123+
ADJCALLSTACKDOWN64 0, 0, 0, implicit-def dead $rsp, implicit-def dead $eflags, implicit-def dead $ssp, implicit $rsp, implicit $ssp, debug-location !31
124+
dead $eax = MOV32r0 implicit-def dead $eflags, implicit-def $al, debug-location !31
125+
CALL64pcrel32 @optimize_me_not, csr_64, implicit $rsp, implicit $ssp, implicit $al, implicit-def $rsp, implicit-def $ssp, implicit-def dead $eax, debug-location !31
126+
ADJCALLSTACKUP64 0, 0, implicit-def dead $rsp, implicit-def dead $eflags, implicit-def dead $ssp, implicit $rsp, implicit $ssp, debug-location !31
127+
$eax = MOV32r0 implicit-def dead $eflags, debug-location !32
128+
RET 0, $eax, debug-location !32
129+
130+
...

0 commit comments

Comments
 (0)