diff options
author | Lang Hames <lhames@gmail.com> | 2014-08-07 20:41:57 +0000 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2014-08-07 20:41:57 +0000 |
commit | 4ea28e22942822426c894cc4c60b956075b44f7c (patch) | |
tree | c62b269480d40b1587a40f9561a18b72221fa2ef /clang/lib/CodeGen | |
parent | 56579b63248d7f8cd9e253adad94b9ed0cfb30e6 (diff) | |
download | bcm5719-llvm-4ea28e22942822426c894cc4c60b956075b44f7c.tar.gz bcm5719-llvm-4ea28e22942822426c894cc4c60b956075b44f7c.zip |
[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.
llvm-svn: 215143
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions