[PATCH] D98278: [test] Only use hardcoded errno messages when compiling with an MSVC implementation
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 10 01:03:53 PST 2021
jhenderson added a comment.
Just to confirm, the problem is when using libc++ that the previous attempt doesn't fix?
If so, I come back to my previous thought, namely that we could try leveraging https://cmake.org/cmake/help/latest/command/exec_program.html to run a program, and check its output to determine what pattern the messages will be. I'm not a CMake expert however, so I don't know how to get CMake to build that program at configuration time, prior to executing it. However, if we can get this to work, it would solve the issue no matter what C++ library is being used.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98278/new/
https://reviews.llvm.org/D98278
More information about the llvm-commits
mailing list