This patch adds two new tests for edge-case behaviour for --section- mapping, namely when there are no program headers, and when there are no section headers. Reviewed by: mattd Differential Revision: https://reviews.llvm.org/D58456 llvm-svn: 354484
6 lines
288 B
Plaintext
6 lines
288 B
Plaintext
RUN: llvm-readelf --section-mapping %p/Inputs/trivial.obj.elf-x86-64 | FileCheck %s
|
|
CHECK: Section to Segment mapping:
|
|
CHECK-NEXT: Segment Sections...
|
|
CHECK-NEXT: None .text .rela.text .data .bss .rodata.str1.1 .note.GNU-stack .shstrtab .symtab .strtab {{$}}
|
|
CHECK-NOT: {{.}}
|