forked from rust-lang/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit 6464e5b
authored
Rollup merge of rust-lang#123075 - rcvalle:rust-cfi-fix-drop-drop-in-place, r=compiler-errors
CFI: Fix drop and drop_in_place
Fix drop and drop_in_place by transforming self of drop and drop_in_place methods into a Drop trait objects.
This was split off from rust-lang#116404.
cc `@compiler-errors` `@workingjubilee`File tree
4 files changed
+79
-2
lines changed- compiler/rustc_symbol_mangling/src/typeid
- tests
- codegen/sanitizer
- cfi
- kcfi
- ui/sanitizer
4 files changed
+79
-2
lines changedLines changed: 30 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1112 | 1112 |
| |
1113 | 1113 |
| |
1114 | 1114 |
| |
1115 | - | ||
1116 | - | ||
1115 | + | ||
1116 | + | ||
1117 | + | ||
1118 | + | ||
1119 | + | ||
1120 | + | ||
1121 | + | ||
1122 | + | ||
1123 | + | ||
1124 | + | ||
1125 | + | ||
1126 | + | ||
1127 | + | ||
1128 | + | ||
1129 | + | ||
1130 | + | ||
1131 | + | ||
1132 | + | ||
1133 | + | ||
1134 | + | ||
1135 | + | ||
1136 | + | ||
1137 | + | ||
1138 | + | ||
1139 | + | ||
1140 | + | ||
1141 | + | ||
1142 | + | ||
1143 | + | ||
1144 | + | ||
1117 | 1145 |
| |
1118 | 1146 |
| |
1119 | 1147 |
| |
|
Lines changed: 27 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + | ||
21 | + | ||
22 | + | ||
23 | + | ||
24 | + | ||
25 | + | ||
26 | + | ||
27 | + |
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
29 | 29 |
| |
30 | 30 |
| |
31 | 31 |
| |
32 | + | ||
33 | + | ||
32 | 34 |
| |
33 | 35 |
| |
34 | 36 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 | + | ||
2 | + | ||
3 | + | ||
4 | + | ||
5 | + | ||
6 | + | ||
7 | + | ||
8 | + | ||
9 | + | ||
10 | + | ||
11 | + | ||
12 | + | ||
13 | + | ||
14 | + | ||
15 | + | ||
16 | + | ||
17 | + | ||
18 | + | ||
19 | + | ||
20 | + |
0 commit comments