mirror of
https://github.com/RPCS3/llvm.git
synced 2026-07-19 23:23:38 -04:00
c5a9fd4269
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
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: {{.}}
|