[PATCH] D58771: [llvm-readobj]Add test showing behaviour of thin archive member path printing

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 28 04:02:01 PST 2019


grimar added inline comments.


================
Comment at: test/tools/llvm-readobj/thin-archive-paths.test:19
+# RUN: not llvm-readelf --file-headers a/relative.a 2>&1 | FileCheck %s --check-prefix=ERR1
+# ERR1: Error reading file: a/relative.a: 'b/1.o': {{[Nn]}}o such file or directory
+
----------------
grimar wrote:
> I hope this will this work under both linux and windows (I am not sure).
> I guess you might need to use:
> ```
> Error reading file: a{{/|\\}}relative.a
> ```
On second thought, I guess the archive should not contain the windows style slashes.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D58771/new/

https://reviews.llvm.org/D58771





More information about the llvm-commits mailing list