llvm/lib/ExecutionEngine
Lang Hames 362510890f [MCJIT] Replace a c-style cast with reinterpret_cast + static_cast.
C-style casts (and reinterpret_casts) result in implementation defined
values when a pointer is cast to a larger integer type. On some platforms
this was leading to bogus address computations in RuntimeDyldMachOAArch64.

This should fix http://llvm.org/PR20501.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215143 91177308-0d34-0410-b5e6-96231b3b80d8
2014-08-07 20:41:57 +00:00
..
2014-08-07 14:21:18 +00:00
2014-08-07 14:21:18 +00:00
2014-08-07 14:21:18 +00:00
2014-08-07 14:21:18 +00:00
2014-08-07 14:21:18 +00:00
2014-08-07 14:21:18 +00:00
2014-08-07 14:38:49 +00:00
2014-08-07 14:21:18 +00:00