diff options
Diffstat (limited to 'rts/StgStartup.cmm')
-rw-r--r-- | rts/StgStartup.cmm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/rts/StgStartup.cmm b/rts/StgStartup.cmm index 0cd18628e2..f67373031b 100644 --- a/rts/StgStartup.cmm +++ b/rts/StgStartup.cmm @@ -181,3 +181,9 @@ INFO_TABLE_RET(stg_forceIO, RET_SMALL, P_ info_ptr) { ENTER(ret); } + +/* Called when compiled with -falignment-sanitisation on alignment failure */ +stg_badAlignment_entry +{ + foreign "C" barf(); +} |