brintos

brintos / llvm-project-archived public Read only

0
0
Text · 764 B · 0434ff1 Raw
26 lines · plain
1## This test makes sure that --strip-all and --strip-all-gnu preserve2## .ARM.attributes sections in ELF files. This is needed to maintain3## compatibility for Ubuntu/Debian distributions on ARM.4 5# RUN: yaml2obj %s -o %t6# RUN: llvm-objcopy --strip-all %t %t27# RUN: llvm-readobj --sections %t2 | FileCheck %s8# RUN: llvm-objcopy --strip-all-gnu %t %t39# RUN: llvm-readobj --sections %t3 | FileCheck %s10# RUN: llvm-strip %t -o %t411# RUN: cmp %t4 %t212# RUN: llvm-strip --strip-all-gnu %t -o %t513# RUN: cmp %t5 %t314 15!ELF16FileHeader:17  Class:           ELFCLASS3218  Data:            ELFDATA2LSB19  Type:            ET_DYN20  Machine:         EM_ARM21Sections:22  - Name:            .ARM.attributes23    Type:            SHT_ARM_ATTRIBUTES24 25# CHECK: Name: .ARM.attributes26