Commit 34d7c53
Tarcisio Fischer
Fix globals being wrongly tagged after global optimization step
Global tagging for MTE is currently only supported for non-RO data.
Most cases are already handled, but some global variables are late marked as RO, and the SanitizerMetadata must be updated.1 parent 0e63180 commit 34d7c53
File tree
3 files changed
+15
-1
lines changed- llvm
- include/llvm/IR
- lib
- IR
- Transforms/IPO
3 files changed
+15
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
| 365 | + | |
365 | 366 | | |
366 | 367 | | |
367 | 368 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
266 | 266 | | |
267 | 267 | | |
268 | 268 | | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
269 | 279 | | |
270 | 280 | | |
271 | 281 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1525 | 1525 | | |
1526 | 1526 | | |
1527 | 1527 | | |
| 1528 | + | |
1528 | 1529 | | |
1529 | 1530 | | |
1530 | 1531 | | |
| |||
2257 | 2258 | | |
2258 | 2259 | | |
2259 | 2260 | | |
2260 | | - | |
| 2261 | + | |
2261 | 2262 | | |
| 2263 | + | |
| 2264 | + | |
2262 | 2265 | | |
2263 | 2266 | | |
2264 | 2267 | | |
| |||
0 commit comments