aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/Object.cpp
diff options
context:
space:
mode:
authorjeremyd2019 <github@jdrake.com>2025-08-01 10:35:09 -0700
committerGitHub <noreply@github.com>2025-08-01 10:35:09 -0700
commit46f6e62eb9ea01e43ec45961e68c22f9c00b0a27 (patch)
treec02d880f06eafd412c98aefb85dda1c31762f0ce /llvm/lib/Object/Object.cpp
parent4c80193a58a5c24e2bbebe291feb406191c4e2ab (diff)
downloadllvm-46f6e62eb9ea01e43ec45961e68c22f9c00b0a27.zip
llvm-46f6e62eb9ea01e43ec45961e68c22f9c00b0a27.tar.gz
llvm-46f6e62eb9ea01e43ec45961e68c22f9c00b0a27.tar.bz2
[LLVM][Support] Fix tests on Cygwin (#151417)
Cygwin returns -1 for `getconf(_SC_ARG_MAX)`, which makes `llvm::sys::commandLineFitsWithinSystemLimits` always return true, so skip the `ArgumentLimit` test in that case. Skip the `ArgumentLimitWindows` and `ResponseFileWindows` tests on Cygwin also as it doesn't suffer from the Windows limits either. Cygwin requires the same `dllexport` annotation as Win32 in the `DynamicLibrary` test, so add its preprocessor check to PipSqueak.h. Cygwin's `getcwd` function does not fail with `ENOENT` if the current working directory is unlinked. According to POSIX issue 8, this is not required. Skip the `PhysicalFileSystemWorkingDirFailure` test on Cygwin as it relies on this behavior.
Diffstat (limited to 'llvm/lib/Object/Object.cpp')
0 files changed, 0 insertions, 0 deletions