You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
713 B

RUN: llvm-readobj -program-headers -sections -symbols -file-headers \
RUN: %p/Inputs/trivial.elf-amdhsa-kaveri | FileCheck %s
CHECK: ElfHeader {
CHECK: Ident {
CHECK: Class: 64-bit (0x2)
CHECK: DataEncoding: LittleEndian (0x1)
CHECK: Machine: EM_AMDGPU (0xE0)
CHECK: Section {
CHECK: Name: .text
CHECK: Type: SHT_PROGBITS (0x1)
CHECK: Flags [ (0xC00007
CHECK: SHF_ALLOC (0x2)
CHECK: SHF_AMDGPU_HSA_AGENT (0x800000)
CHECK: SHF_AMDGPU_HSA_CODE (0x400000)
CHECK: SHF_EXECINSTR (0x4)
CHECK: SHF_WRITE (0x1)
CHECK: Symbol {
CHECK: Name: hello_world
CHECK: Value: 0x0
CHECK: Binding: Local (0x0)
CHECK: Type: AMDGPU_HSA_KERNEL (0xA)
CHECK: ProgramHeader {
CHECK: Type: PT_AMDGPU_HSA_LOAD_CODE_AGENT (0x60000003)