gcc/libsanitizer
Sam James dbe0ba6c90
[sanitizer_common] Remove reference to obsolete termio ioctls (#138822)
Cherry picked from LLVM commit c99b1bcd505064f2e086e6b1034ce0b0c91ea5b9.

The termio ioctls are no longer used after commit 59978b21ad9c
("[sanitizer_common] Remove interceptors for deprecated struct termio
(#137403)"), remove them.  Fixes this build error:

../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:765:27: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  765 |   unsigned IOCTL_TCGETA = TCGETA;
      |                           ^~~~~~
../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:769:27: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  769 |   unsigned IOCTL_TCSETA = TCSETA;
      |                           ^~~~~~
../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:770:28: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  770 |   unsigned IOCTL_TCSETAF = TCSETAF;
      |                            ^~~~~~~
../../../../libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:771:28: error: invalid application of ‘sizeof’ to incomplete type ‘__sanitizer::termio’
  771 |   unsigned IOCTL_TCSETAW = TCSETAW;
      |                            ^~~~~~~
2025-07-30 23:29:52 +01:00
..
asan Fix few size types in memprof (#119114) 2025-01-06 19:17:09 +01:00
builtins libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
hwasan libsanitizer: Remove -pedantic from AM_CXXFLAGS [PR117732] 2024-11-25 09:36:41 +01:00
include libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
interception Add type __sanitizer::ssize (#116957) 2025-01-06 19:17:09 +01:00
libbacktrace libsanitizer: Remove -pedantic from AM_CXXFLAGS [PR117732] 2024-11-25 09:36:41 +01:00
lsan libsanitizer: Remove -pedantic from AM_CXXFLAGS [PR117732] 2024-11-25 09:36:41 +01:00
sanitizer_common [sanitizer_common] Remove reference to obsolete termio ioctls (#138822) 2025-07-30 23:29:52 +01:00
tsan Replace uptr by usize/SIZE_T in interfaces 2025-01-06 19:17:09 +01:00
ubsan libsanitizer: Remove -pedantic from AM_CXXFLAGS [PR117732] 2024-11-25 09:36:41 +01:00
ChangeLog Daily bump. 2025-05-03 00:18:18 +00:00
HOWTO_MERGE
LICENSE.TXT
LOCAL_PATCHES libsanitizer: Update LOCAL_PATCHES 2024-11-12 21:59:49 +08:00
MERGE libsanitizer: merge from upstream (61a6439f35b6de28) 2024-11-12 21:56:06 +08:00
Makefile.am
Makefile.in libsanitizer: Check assembler support for symbol assignment [PR112563] 2023-11-28 14:54:34 +01:00
README.gcc
acinclude.m4
aclocal.m4
config.h.in
configure libsanitizer: Check assembler support for symbol assignment [PR112563] 2023-11-28 14:54:34 +01:00
configure.ac libsanitizer: Check assembler support for symbol assignment [PR112563] 2023-11-28 14:54:34 +01:00
configure.tgt LoongArch: libsanitizer: Enable Lsan and Tsan for loongarch64. 2024-02-06 09:38:13 +08:00
libsanitizer.spec.in
merge.sh

README.gcc

AddressSanitizer and ThreadSanitizer (https://github.com/google/sanitizers) are
projects initially developed by Google Inc.

Both tools consist of a compiler module and a run-time library.
The sources of the run-time library for these projects are hosted at
https://github.com/llvm/llvm-project in the following directories:
  compiler-rt/include/sanitizer
  compiler-rt/lib/sanitizer_common
  compiler-rt/lib/interception
  compiler-rt/lib/asan
  compiler-rt/lib/tsan
  compiler-rt/lib/lsan
  compiler-rt/lib/ubsan
  compiler-rt/lib/hwasan

Trivial and urgent fixes (portability, build fixes, etc.) may go directly to the
GCC tree.  All non-trivial changes, functionality improvements, etc. should go
through the upstream tree first and then be merged back to the GCC tree.
The merges from upstream should be done with the aid of the merge.sh script;
it will also update the file MERGE to contain the upstream revision
we merged with.