Commit 0420a8f
committed
[sanitizer] Add type __sanitizer::ssize
For some targets sptr is mapped to int and ssize_t to long and
sizeof(int)==sizeof(long) holds. Still, these are distinct types and
type checking may fail. Therefore, add type __sanitizer::ssize and
typedef it initially to sptr except for s390 -m31 where it is set to
long.1 parent edacf0c commit 0420a8f
File tree
2 files changed
+7
-1
lines changed- compiler-rt/lib
- interception
- sanitizer_common
2 files changed
+7
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
206 | 212 | | |
207 | 213 | | |
208 | 214 | | |
| |||
0 commit comments