aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2022-11-24 16:20:33 +0100
committerRainer Orth <ro@gcc.gnu.org>2022-11-24 16:20:33 +0100
commitdfa7f4ca8b6054c6148a14fd23bf400782136fda (patch)
tree58d2534bd18756ef09be6e8c531391102ec4d885 /llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
parent0a77ff41da42e218ef4c89175b1c2403571ff90a (diff)
downloadllvm-dfa7f4ca8b6054c6148a14fd23bf400782136fda.zip
llvm-dfa7f4ca8b6054c6148a14fd23bf400782136fda.tar.gz
llvm-dfa7f4ca8b6054c6148a14fd23bf400782136fda.tar.bz2
[flang][test] Adjust Driver/pass-plugin-not-found.f90 error message
The `Driver/pass-plugin-not-found.f90` test `FAIL`s on Solaris since part of the error message differs from what the test expects: Solaris has error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': ld.so.1: flang-new: X.Y: open failed: No such file or directory' while the test expects error: unable to load plugin 'X.Y': 'Could not load library 'X.Y': X.Y: cannot open shared object file: No such file or directory' The last part is emitted by the system `dlerror` and is thus unportable. Hopefully the error text itself is the same everywhere. The following patch adjusts the expected message accordingly. Tested on `x86_64-pc-linux-gnu` and `amd64-pc-solaris2.11`. Differential Revision: https://reviews.llvm.org/D138663
Diffstat (limited to 'llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp')
0 files changed, 0 insertions, 0 deletions