Commit e3bf41f
committed
fix type of S_restore_magic and S_unwind_handler_stack
SAVEDESTRUCTOR_X needs a function of type 'void (pTHX_ void *)' exactly.
Should fix this ASan error:
scope.c:1543:13: runtime error: call to function S_restore_magic through pointer to incorrect function type 'void (*)(struct interpreter *, void *)'
scope.c:1543:13: runtime error: call to function S_unwind_handler_stack through pointer to incorrect function type 'void (*)(struct interpreter *, void *)'1 parent da3c66b commit e3bf41f
3 files changed
+6
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4825 | 4825 | | |
4826 | 4826 | | |
4827 | 4827 | | |
4828 | | - | |
| 4828 | + | |
4829 | 4829 | | |
4830 | 4830 | | |
4831 | 4831 | | |
4832 | 4832 | | |
4833 | 4833 | | |
4834 | | - | |
| 4834 | + | |
4835 | 4835 | | |
4836 | 4836 | | |
4837 | 4837 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3824 | 3824 | | |
3825 | 3825 | | |
3826 | 3826 | | |
3827 | | - | |
| 3827 | + | |
3828 | 3828 | | |
3829 | 3829 | | |
3830 | 3830 | | |
| |||
3881 | 3881 | | |
3882 | 3882 | | |
3883 | 3883 | | |
3884 | | - | |
| 3884 | + | |
3885 | 3885 | | |
3886 | 3886 | | |
3887 | 3887 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments