llvm-project/llvm/test/tools/llvm-strings/archive-filename.test

10 lines
330 B
Plaintext

RUN: rm -rf %t && mkdir -p %t
RUN: llvm-ar --format=gnu crs %t/archive.a %S/Inputs/abcd
RUN: llvm-strings -f %t/archive.a | FileCheck %s
RUN: llvm-strings --print-file-name %t/archive.a | FileCheck %s
CHECK: archive.a: !<arch>
CHECK: archive.a: abcd/ 0 0 0 644 4 `
CHECK: archive.a: abcd