[llvm-dev] [JIT] getImageBase() leads to crash under Windows10

via llvm-dev llvm-dev at lists.llvm.org
Mon Feb 5 07:21:59 PST 2018


Hello LLVM-people,

I have a problem and I hope that you could help me. I'm jitting some .BC 
files at runtime with the LLVM under Windows 7. Thanks to the function "
getImageBase()" located in RuntimeDyldCOFFX86_64.h I'm able to support 
exceptions. But when moving the program to Windows 10, the exceptions will 
crash the program. I read that the __ImageBase is important for exceptions 
- so what is different from Windows 7 to Windows 10?

Also other __ImageBase related code - like some switch statements - also 
crashes under Windows10 but not under Windows7.

Please help me!

Kind regards
Björn
Als GmbH eingetragen im Handelsregister Bad Homburg v.d.H. HRB 9816, 
USt.ID-Nr. DE 114 165 789
Geschäftsführer: Dr. Hiroshi Nakamura, Dr. Robert Plank, Markus Bode, 
Heiko Lampert, Hiroshi Kawamura, Takashi Nagano, Takeshi Fukushima.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180205/96cd45ef/attachment.html>


More information about the llvm-dev mailing list