<html><head><meta http-equiv="content-type" content="text/html; charset=GB2312"><style>body { line-height: 1.5; }blockquote { margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em; }div.foxdiv20170227162200485570 { }body { font-size: 10.5pt; font-family: 宋体; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><body>
<div><span style="color: rgb(0, 0, 238);">LLVM3.8 version.<br><br>https://bugs.llvm.org//show_bug.cgi?id=24233. The example can catch exception. But I use my own code for testing, CustomEHMemoryManager allocated memory address is very large, allocateCodeSection, allocateDataSection assigned address (more than 32 bit address space) is getting smaller and smaller. Cause registerEHFrames to fail.<br>3.9.1 or 4.0.0 version has been supported on win x64? Or how to solve this problem?</span><span></span></div><div><span style="color: rgb(0, 0, 0); font-size: 10.5pt; line-height: 1.5; background-color: rgba(0, 0, 0, 0);"><br></span></div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"></span>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>haifeng.qin@wellintech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>发件人:</b> <a href="mailto:haifeng.qin@wellintech.com">haifeng.qin@wellintech.com</a></div><div><b>发送时间:</b> 2017-02-17 10:38</div><div><b>收件人:</b> <a href="mailto:llvm-dev@lists.llvm.org">llvm-dev</a></div><div><b>主题:</b> 回复: How to catch EXCEPTION_ACCESS_VIOLATION exceptions on win64</div></div></div><div><div class="FoxDiv20170227162200485570">
<div><span></span><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">I'm sorry。<br>I make mistakes. SE can be catched.</span></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>haifeng.qin@wellintech.com</div></div></span></div>
<blockquote style="margin-top: 0px; margin-bottom: 0px; margin-left: 0.5em;"><div> </div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><div style="PADDING-RIGHT: 8px; PADDING-LEFT: 8px; FONT-SIZE: 12px;FONT-FAMILY:tahoma;COLOR:#000000; BACKGROUND: #efefef; PADDING-BOTTOM: 8px; PADDING-TOP: 8px"><div><b>发件人:</b> <a href="mailto:haifeng.qin@wellintech.com" class="">haifeng.qin@wellintech.com</a></div><div><b>发送时间:</b> 2017-02-16 17:48</div><div><b>收件人:</b> <a href="mailto:llvm-dev@lists.llvm.org">llvm-dev</a></div><div><b>主题:</b> How to catch EXCEPTION_ACCESS_VIOLATION exceptions on win64</div></div></div><div><div class="FoxDiv20170217103622312439">
<div><span></span><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">For help:</span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">Llvm generated instruction calls a function (extern), the function will have a SEH exception (EXCEPTION_ACCESS_VIOLATION),  But JIT can not capture the exception of the EXCEPTION_ACCESS_VIOLATION. I saw Bug 24233. EXCEPTION_ACCESS_VIOLATION exception cannot be captured after modification. </span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);"><br></span></div><div><span style="color: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">How to catch EXCEPTION_ACCESS_VIOLATION exceptions on win64 ?</span></div></div>
<div><br></div><hr style="width: 210px; height: 1px;" color="#b5c4df" size="1" align="left">
<div><span><div style="MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div>haifeng.qin@wellintech.com</div></div></span></div>
</div></div></blockquote>
</div></div></blockquote>
</body></html>