Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / lld / test / COFF / pdb-debug-f.s
blobccc34558c832bca7e86583ac731fddcf920c1d26
1 # REQUIRES: x86
2 # RUN: llvm-mc -triple=i386-pc-win32 -filetype=obj -o %t.obj %s
3 # RUN: lld-link -safeseh:no /subsystem:console /debug /nodefaultlib /entry:foo /out:%t.exe /pdb:%t.pdb %t.obj
4 # RUN: llvm-pdbutil dump -fpo %t.pdb | FileCheck %s
6 # CHECK: Old FPO Data
7 # CHECK-NEXT: ============================================================
8 # CHECK-NEXT: RVA | Code | Locals | Params | Prolog | Saved Regs | Use BP | Has SEH | Frame Type
9 # CHECK-NEXT: 00001002 | 1 | 2 | 3 | 4 | 0 | false | false | FPO
11 .text
12 _foo:
13 ret
15 .global _foo
17 .section .debug$F,"dr"
18 .long _foo@IMGREL+2
19 .long 1 # cbProc
20 .long 2 # cdwLocals;
21 .short 3 # cdwParams;
22 .short 4 # flags
23 # cbProlog : 8;
24 # cbRegs : 3;
25 # fHasSEH : 1;
26 # fUseBP : 1;
27 # reserved : 1;
28 # cbFrame : 2;