[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / llvm / test / Object / RISCV / elf-flags.yaml
blob86bcf158958e817d40763c78899b7d980fc42555
1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj --file-headers %t | FileCheck -check-prefix=OBJ %s
3 # RUN: obj2yaml %t | FileCheck -check-prefix=YAML %s
5 # OBJ: Flags [ (0x1D)
6 # OBJ-NEXT:   EF_RISCV_FLOAT_ABI_DOUBLE (0x4)
7 # OBJ-NEXT:   EF_RISCV_RVC (0x1)
8 # OBJ-NEXT:   EF_RISCV_RVE (0x8)
9 # OBJ-NEXT:   EF_RISCV_TSO (0x10)
10 # OBJ-NEXT: ]
12 # YAML:      FileHeader:
13 # YAML-NEXT:   Class:           ELFCLASS32
14 # YAML-NEXT:   Data:            ELFDATA2LSB
15 # YAML-NEXT:   Type:            ET_EXEC
16 # YAML-NEXT:   Machine:         EM_RISCV
17 # YAML-NEXT:   Flags:           [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE, EF_RISCV_TSO ]
19 --- !ELF
20 FileHeader:
21   Class:           ELFCLASS32
22   Data:            ELFDATA2LSB
23   Type:            ET_EXEC
24   Machine:         EM_RISCV
25   Flags:           [ EF_RISCV_RVC, EF_RISCV_FLOAT_ABI_DOUBLE, EF_RISCV_RVE, EF_RISCV_TSO ]