Add stack unwinding code for HardFault exception