[all-commits] [llvm/llvm-project] 1cd4d6: [sanitizer_common] Restore sanitizer_procmaps_sola...
rorth via All-commits
all-commits at lists.llvm.org
Fri Sep 23 06:50:37 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1cd4d63fb9ab0f04c7151911dde0d58b673823de
https://github.com/llvm/llvm-project/commit/1cd4d63fb9ab0f04c7151911dde0d58b673823de
Author: Rainer Orth <ro at gcc.gnu.org>
Date: 2022-09-23 (Fri, 23 Sep 2022)
Changed paths:
M compiler-rt/lib/sanitizer_common/sanitizer_procmaps_solaris.cpp
Log Message:
-----------
[sanitizer_common] Restore sanitizer_procmaps_solaris.cpp compilation on Solaris 11.3
When upstream `compiler-rt` was recently imported into GCC's
`libsanitizer`, Solaris 11.3 bootstrap broke because in 11.3
`<sys/procfs.h>` doesn't mix with largefile compilation. I'd caused this
in D129837 <https://reviews.llvm.org/D129837> where I forgot that the code
still needs to support Solaris 11.3.
Fixed by restoring the `#undef _FILE_OFFSET_BITS`.
Tested on `sparc-sun-solaris2.11` and `amd64-pc-solaris2.11` (Solaris 11.4)
in LLVM and both Solaris 11.3 and 11.4 in GCC.
Differential Revision: https://reviews.llvm.org/D133556
More information about the All-commits
mailing list