[InstCombine] Signed saturation patterns
[llvm-core.git] / test / MC / RISCV / elf-header.s
blob29a7036f2fc6c4fcea9f4acbf9fea2a3bf6619e3
1 # RUN: llvm-mc %s -filetype=obj -triple=riscv32 | llvm-readobj -h \
2 # RUN: | FileCheck -check-prefix=RV32 %s
3 # RUN: llvm-mc %s -filetype=obj -triple=riscv64 | llvm-readobj -h \
4 # RUN: | FileCheck -check-prefix=RV64 %s
6 # RV32: Format: ELF32-riscv
7 # RV32: Arch: riscv32
8 # RV32: AddressSize: 32bit
9 # RV32: ElfHeader {
10 # RV32: Ident {
11 # RV32: Magic: (7F 45 4C 46)
12 # RV32: Class: 32-bit (0x1)
13 # RV32: DataEncoding: LittleEndian (0x1)
14 # RV32: FileVersion: 1
15 # RV32: OS/ABI: SystemV (0x0)
16 # RV32: ABIVersion: 0
17 # RV32: }
18 # RV32: Type: Relocatable (0x1)
19 # RV32: Machine: EM_RISCV (0xF3)
20 # RV32: Version: 1
21 # RV32: Flags [ (0x0)
22 # RV32: ]
23 # RV32: }
25 # RV64: Format: ELF64-riscv
26 # RV64: Arch: riscv64
27 # RV64: AddressSize: 64bit
28 # RV64: ElfHeader {
29 # RV64: Ident {
30 # RV64: Magic: (7F 45 4C 46)
31 # RV64: Class: 64-bit (0x2)
32 # RV64: DataEncoding: LittleEndian (0x1)
33 # RV64: FileVersion: 1
34 # RV64: OS/ABI: SystemV (0x0)
35 # RV64: ABIVersion: 0
36 # RV64: }
37 # RV64: Type: Relocatable (0x1)
38 # RV64: Machine: EM_RISCV (0xF3)
39 # RV64: Version: 1
40 # RV64: Flags [ (0x0)
41 # RV64: ]
42 # RV64: }