[PATCH] D72357: Fix llvm-objcopy when directory contains "bar".
Jordan Rupprecht via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 7 12:49:07 PST 2020
rupprecht added inline comments.
================
Comment at: llvm/test/tools/llvm-objcopy/ELF/only-section-strip-undefined.test:6
# RUN: llvm-objcopy -j .other.section %t.o %t2.o
-# RUN: llvm-readobj --symbols %t2.o | FileCheck %s --implicit-check-not=bar
+# RUN: llvm-readobj --symbols %t2.o | FileCheck %s --implicit-check-not=barrr
----------------
I assume the match you're getting is the first line from llvm-readobj:
```
File: /Users/jlebar/path/to/something.o
Format: ELF64-x86-64
Arch: x86_64
AddressSize: 64bit
```
Piping from stdin will remove that filename; can you instead try:
```
# RUN: llvm-readobj --symbols < %t2.o | FileCheck %s --implicit-check-not=bar
```
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D72357/new/
https://reviews.llvm.org/D72357
More information about the llvm-commits
mailing list