Commit 2315feb
committed
[sanitizer_common] Remove <procfs.h> workaround on Solaris
`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`.1 parent e3a0cb8 commit 2315feb
File tree
1 file changed
+0
-3
lines changed- compiler-rt/lib/sanitizer_common
1 file changed
+0
-3
lines changedLines changed: 0 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | 12 | | |
16 | 13 | | |
17 | 14 | | |
| |||
0 commit comments