Commit e2ab2b9
Wu Yingcong
[DevSan][Refactor] Make Options an unified class shared by all sanitizers (#17157)
- Make `Options` shared by different sanitizers.
- Also, remove the `max_redzone` option as we don't think it serves much
purpose.
- Move the testing in SYCL e2e test options-invalid-values.cpp to UR
unit test.
Reason:
1. reduce duplicated codes
2. if there are any options with same name in different sanitizers, then
they should have the same type and same meaning, which is more friendly
to users. So it should be okay to have one unified options class.1 parent cd38f3f commit e2ab2b9
21 files changed
Lines changed: 386 additions & 357 deletions
File tree
- sycl/test-e2e/AddressSanitizer/common
- unified-runtime
- source/loader
- layers/sanitizer
- asan
- msan
- sanitizer_common
- test/layers/sanitizer
Lines changed: 0 additions & 39 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | | - | |
| 27 | + | |
30 | 28 | | |
31 | 29 | | |
32 | 30 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
144 | | - | |
145 | 143 | | |
146 | 144 | | |
147 | 145 | | |
| |||
161 | 159 | | |
162 | 160 | | |
163 | 161 | | |
164 | | - | |
165 | | - | |
166 | 162 | | |
167 | 163 | | |
168 | 164 | | |
| |||
176 | 172 | | |
177 | 173 | | |
178 | 174 | | |
| 175 | + | |
| 176 | + | |
179 | 177 | | |
180 | 178 | | |
181 | 179 | | |
| |||
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
1559 | 1558 | | |
1560 | 1559 | | |
1561 | 1560 | | |
1562 | | - | |
| 1561 | + | |
1563 | 1562 | | |
1564 | 1563 | | |
1565 | 1564 | | |
| |||
Lines changed: 13 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
18 | 17 | | |
19 | 18 | | |
20 | 19 | | |
21 | 20 | | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
94 | | - | |
| 93 | + | |
95 | 94 | | |
96 | 95 | | |
97 | 96 | | |
| |||
175 | 174 | | |
176 | 175 | | |
177 | 176 | | |
178 | | - | |
| 177 | + | |
179 | 178 | | |
180 | 179 | | |
181 | 180 | | |
| |||
193 | 192 | | |
194 | 193 | | |
195 | 194 | | |
196 | | - | |
| 195 | + | |
197 | 196 | | |
198 | 197 | | |
199 | 198 | | |
200 | 199 | | |
201 | 200 | | |
202 | 201 | | |
203 | 202 | | |
204 | | - | |
| 203 | + | |
205 | 204 | | |
206 | 205 | | |
207 | 206 | | |
208 | 207 | | |
209 | 208 | | |
210 | 209 | | |
211 | 210 | | |
212 | | - | |
| 211 | + | |
213 | 212 | | |
214 | 213 | | |
215 | 214 | | |
| |||
736 | 735 | | |
737 | 736 | | |
738 | 737 | | |
739 | | - | |
| 738 | + | |
740 | 739 | | |
741 | 740 | | |
742 | 741 | | |
| |||
813 | 812 | | |
814 | 813 | | |
815 | 814 | | |
816 | | - | |
| 815 | + | |
817 | 816 | | |
818 | 817 | | |
819 | | - | |
| 818 | + | |
820 | 819 | | |
821 | 820 | | |
822 | 821 | | |
| |||
836 | 835 | | |
837 | 836 | | |
838 | 837 | | |
839 | | - | |
| 838 | + | |
840 | 839 | | |
841 | 840 | | |
842 | 841 | | |
| |||
928 | 927 | | |
929 | 928 | | |
930 | 929 | | |
931 | | - | |
| 930 | + | |
932 | 931 | | |
933 | 932 | | |
934 | 933 | | |
| |||
Lines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
345 | | - | |
346 | | - | |
347 | 345 | | |
348 | 346 | | |
349 | 347 | | |
| |||
375 | 373 | | |
376 | 374 | | |
377 | 375 | | |
378 | | - | |
379 | | - | |
380 | 376 | | |
381 | 377 | | |
382 | 378 | | |
| |||
Lines changed: 0 additions & 148 deletions
This file was deleted.
0 commit comments