Files
llvm/test/tools/llvm-readobj/gnu-section-mapping-no-phdrs.test
T
James Henderson c5a9fd4269 [llvm-readelf]Test a couple of corner-cases for --section-mapping
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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354484 91177308-0d34-0410-b5e6-96231b3b80d8
2019-02-20 17:21:38 +00:00

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: {{.}}