Fix #9457
authorjashook <jashoo@microsoft.com>
Mon, 13 Mar 2017 23:15:10 +0000 (16:15 -0700)
committerjashook <jashoo@microsoft.com>
Tue, 14 Mar 2017 17:21:23 +0000 (10:21 -0700)
commit43a3f8ed85b210fe5b1a4d56f1b887ad835f2f24
tree5cd13908192038c796f14af89f997f0600d5fb10
parenta6a7bde881a404fd3e44b2909960675072b4fca1
Fix #9457

To optimize code size we only added a UWC_END code if the last code in
uecMem does not equal UWC_END. However, the uec codes are variable sized
and allow any value to follow the code. Therefore, the value has the
small possibility to equal the value of UWC_END (0x4e on arm64
and 0xFF on arm32). Which incorrectly leaves the unwind array
unterminated.
src/jit/unwind.h
tests/arm64/Tests.lst