Repository navigation
Commit 0f58198
authored
Arm backend: Fix ubsan warning in example runner (pytorch#15846)
Avoid dangerous pointer arithmetic by making sure EValue lands at its
natural alignment (8 bytes on this target).
Signed-off-by: per.held@arm.com1 parent 3bbe173 commit 0f58198
2 files changed
Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
390 | 390 | | |
391 | 391 | | |
392 | 392 | | |
393 | | - | |
| 393 | + | |
394 | 394 | | |
395 | 395 | | |
396 | 396 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
414 | | - | |
| 413 | + | |
415 | 414 | | |
416 | 415 | | |
417 | 416 | | |
| |||
0 commit comments