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

via llvm-dev llvm-dev at lists.llvm.org
Tue Feb 6 03:13:15 PST 2018


They are both x64 and I also JIT to this architecture.




Just to make sure:
Both Operatingsystems have the same architecture (x64 or x86)?

And in both cases you JIT to the same Architecture?

2018-02-05 16:21 GMT+01:00 via llvm-dev <llvm-dev at lists.llvm.org>:
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.


_______________________________________________
LLVM Developers mailing list
llvm-dev at lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev




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/20180206/dc961dda/attachment.html>


More information about the llvm-dev mailing list