# RUN: llvm-mc -triple=i386-pc-win32 -filetype=obj -o %t.obj %s
# RUN: lld-link /subsystem:console /debug /nodefaultlib /entry:foo /out:%t.exe /pdb:%t.pdb %t.obj
# RUN: llvm-pdbutil dump -fpo %t.pdb | FileCheck %s

# CHECK:                         Old FPO Data
# CHECK-NEXT: ============================================================
# CHECK-NEXT:   RVA    | Code | Locals | Params | Prolog | Saved Regs | Use BP | Has SEH | Frame Type
# CHECK-NEXT: 00001002 |    1 |      2 |      3 |      4 |          0 |  false |   false |       FPO

.text
_foo:
ret

.global _foo

.section .debug$F,"dr"
	.long _foo@IMGREL+2
	.long 1 #  cbProc
	.long 2 # cdwLocals;
	.short 3 # cdwParams;
	.short 4 # flags
  # cbProlog : 8;
  # cbRegs : 3;
  # fHasSEH : 1;
  # fUseBP : 1;
  # reserved : 1;
  # cbFrame : 2;
# REQUIRES: x86
# RUN: llvm-mc -triple=i386-pc-win32 -filetype=obj -o %t.obj %s
# RUN: lld-link /subsystem:console /debug /nodefaultlib /entry:foo /out:%t.exe /pdb:%t.pdb %t.obj
# RUN: llvm-pdbutil dump -fpo %t.pdb | FileCheck %s

# CHECK:                         Old FPO Data
# CHECK-NEXT: ============================================================
# CHECK-NEXT:   RVA    | Code | Locals | Params | Prolog | Saved Regs | Use BP | Has SEH | Frame Type
# CHECK-NEXT: 00001002 |    1 |      2 |      3 |      4 |          0 |  false |   false |       FPO

.text
_foo:
ret

.global _foo

.section .debug$F,"dr"
	.long _foo@IMGREL+2
	.long 1 #  cbProc
	.long 2 # cdwLocals;
	.short 3 # cdwParams;
	.short 4 # flags
  # cbProlog : 8;
  # cbRegs : 3;
  # fHasSEH : 1;
  # fUseBP : 1;
  # reserved : 1;
  # cbFrame : 2;
Add missing Requires x86 to fix buildbot
[COFF] Add missing Requires x86 to fix buildbot

Add REQUIRES: x86 to pdb-debug-f.s as this is causing the Arm and
AArch64 buildbots to fail as they do not have the x86 backend.

Differential Revision: https://reviews.llvm.org/D52606



git-svn-id: f6089bf0e6284f307027cef4f64114ee9ebb0424@343196 91177308-0d34-0410-b5e6-96231b3b80d8
