Commit 8d38ccb
Remove reference to obsolete termio ioctls
The termio ioctls are no longer used after commit 59978b2
("[sanitizer_common] Remove interceptors for deprecated struct termio
(llvm#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;
| ^~~~~~~
Part-of: llvm#138822
Closes: llvm#138822
(cherry picked from commit c99b1bc)1 parent 9869d43 commit 8d38ccb
2 files changed
Lines changed: 0 additions & 8 deletions
File tree
- compiler-rt/lib/sanitizer_common
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
779 | 779 | | |
780 | 780 | | |
781 | 781 | | |
782 | | - | |
783 | 782 | | |
784 | 783 | | |
785 | 784 | | |
786 | 785 | | |
787 | 786 | | |
788 | | - | |
789 | | - | |
790 | | - | |
791 | 787 | | |
792 | 788 | | |
793 | 789 | | |
| |||
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1314 | 1314 | | |
1315 | 1315 | | |
1316 | 1316 | | |
1317 | | - | |
1318 | 1317 | | |
1319 | 1318 | | |
1320 | | - | |
1321 | | - | |
1322 | | - | |
1323 | 1319 | | |
1324 | 1320 | | |
1325 | 1321 | | |
| |||
0 commit comments