aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorRainer Orth <ro@gcc.gnu.org>2025-06-05 08:34:09 +0200
committerGitHub <noreply@github.com>2025-06-05 08:34:09 +0200
commit70fce9202709f36f28a991aa0523f6c8e78b2028 (patch)
treeadec7297594a38b33eea8c2081a1889ca791ab2b /llvm/lib/CodeGen/MachineScheduler.cpp
parent3172c618956c0523846a98c3c5044df5a4b551b2 (diff)
downloadllvm-70fce9202709f36f28a991aa0523f6c8e78b2028.zip
llvm-70fce9202709f36f28a991aa0523f6c8e78b2028.tar.gz
llvm-70fce9202709f36f28a991aa0523f6c8e78b2028.tar.bz2
[sanitizer_common] Remove <procfs.h> workaround on Solaris (#142758)
`sanitizer_procmaps_solaris.cpp` currently uses `#undef _FILE_OFFSET_BITS` to hack around the fact that old versions of Solaris `<procfs.h>` don't work in a largefile environment: ``` /usr/include/sys/procfs.h:42:2: error: #error "Cannot use procfs in the large file compilation environment" 42 | #error "Cannot use procfs in the large file compilation environment" | ^~~~~ ``` However, this is no longer an issue on either Solaris 11.4 or Illumos. The workaround only existed for the benefit of Solaris 11.3. While that had never been supported by LLVM, the sanitizer runtime libs were imported into GCC's `libsanitzer`. With the removal of Solaris 11.3 support in GCC 15, this is no longer an issue and the workaround can be removed. Tested on `amd64-pc-solaris2.11` and `sparcv9-sun-solaris2.11`.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions