mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-25 21:33:25 +00:00

test/Object is not correct place to have tests that check obj2yaml functionality, because we have test/tools/obj2yaml folder for that. In this patch I merged a few test cases with their YAMLs from Inputs folder, converted one of binary inputs and moved them to tools/obj2yaml folder. There are still another tests that might need the same, so it is initial step. Differential revision: https://reviews.llvm.org/D64555 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@365891 91177308-0d34-0410-b5e6-96231b3b80d8
19 lines
512 B
Plaintext
19 lines
512 B
Plaintext
# RUN: yaml2obj %s | obj2yaml | FileCheck %s --check-prefix COFF-I386
|
|
|
|
# COFF-I386: File: filename_with_22_chars
|
|
|
|
--- !COFF
|
|
header:
|
|
Machine: IMAGE_FILE_MACHINE_AMD64
|
|
Characteristics: [ IMAGE_FILE_RELOCS_STRIPPED, IMAGE_FILE_LINE_NUMS_STRIPPED ]
|
|
sections:
|
|
symbols:
|
|
- Name: .file
|
|
Value: 0
|
|
SectionNumber: 65534
|
|
SimpleType: IMAGE_SYM_TYPE_NULL
|
|
ComplexType: IMAGE_SYM_DTYPE_NULL
|
|
StorageClass: IMAGE_SYM_CLASS_FILE
|
|
File: filename_with_22_chars
|
|
...
|