reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | ## Show that yaml2obj is able to write relocations for an unknown e_machine properly. # RUN: yaml2obj %s -o %t1 # RUN: llvm-readelf %t1 --relocations | FileCheck %s # CHECK: Relocation section '.rela.text' at offset 0x40 contains 2 entries: # CHECK: Offset Info Type Symbol's Value Symbol's Name + Addend # CHECK-NEXT: 0000000000000001 0000000000000002 Unknown 0 # CHECK-NEXT: 0000000000000003 0000000000000004 Unknown 0 --- !ELF FileHeader: Class: ELFCLASS64 Data: ELFDATA2MSB Type: ET_REL Machine: 0x1234 Sections: - Name: .rela.text Type: SHT_RELA Relocations: - Offset: 0x1 Type: 0x2 - Offset: 0x3 Type: 0x4 |