<font size=2 face="sans-serif">Hello friendly LLVM and Clang-World,</font>
<br>
<br><font size=2 face="sans-serif">I was able to solve the problem I had
with the memory mapping. Now everything gets calculated correctly.</font>
<br>
<br><font size=2 face="sans-serif">Kind regards</font>
<br><font size=2 face="sans-serif">Björn</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:      
 </font><font size=1 face="sans-serif">Bjoern Gaier/HE/HORIBA</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:      
 </font><font size=1 face="sans-serif">llvm-dev@lists.llvm.org,
cfe-dev@lists.llvm.org</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date:      
 </font><font size=1 face="sans-serif">25.10.2017 15:12</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject:    
   </font><font size=1 face="sans-serif">[JIT] Correct
memory mapping?</font>
<br>
<hr noshade>
<br>
<br><font size=2 face="Verdana">Hello friendly LLVM and Clang-World,</font>
<p><font size=2 face="Verdana">Because I got helpful information from the
LLVM and the Clang-Mailing-List about JITting, I send this message to both.<br>
<br>
<i>I’m still not part of the LLVM-Mailing-List, so please put me in cc.<b><br>
</i></b><br>
Some days ago I was able to throw an exception in JITted code and also
catch this exception in JITed code – all under windows with 64bit and
pecoff format of the files. But soon as I apply a memory mapping to the
JITed code (the code gets mapped from one memory in the process to another
memory from the same process) the exception handling doesn’t work anymore.
It seems like the mapping of the memory destroys some offsets.<br>
<br>
What can I do against this? I’m acting pretty straight forward when mapping
the memory – I map every data and code section. But even if I don’t map
“.pdata” and “.xdata” segments, there are still some offsets wrong.
Is this a problem from the LLVM or is it my fault?<br>
<br>
I hope for some help!<br>
<br>
Kind regards<br>
Björn</font>
<p><font size=2 face="sans-serif"><br>
Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, USt.ID-Nr.
DE 114 165 789<br>
Geschäftsführer: Hiroshi Kawamura, Dr Hiroshi Nakamura, Markus Bode, Heiko
Lampert, Takashi Nagano, Takeshi Fukushima.</font>