diff options
author | Lang Hames <lhames@gmail.com> | 2020-03-03 13:51:05 -0800 |
---|---|---|
committer | Lang Hames <lhames@gmail.com> | 2020-03-03 13:53:00 -0800 |
commit | ab16ef17e838377e914a18fcec0fa78375833c36 (patch) | |
tree | 5c57cebdd1b74b9b6b0b8ef3eaee603e1c6a7b1b /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | a7fa8b022f0e9873c61e23f5f493bd413b69f4d0 (diff) | |
download | llvm-ab16ef17e838377e914a18fcec0fa78375833c36.zip llvm-ab16ef17e838377e914a18fcec0fa78375833c36.tar.gz llvm-ab16ef17e838377e914a18fcec0fa78375833c36.tar.bz2 |
[JITLink] Fix a pointer-to-integer cast in jitlink::InProcessMemoryManager.
reinterpret_cast'ing the block base address directly to a uint64_t leaves the
high bits in an implementation-defined state, but JITLink expects them to be
zero. Switching to pointerToJITTargetAddress for the cast should fix this.
This should fix the jitlink test failures that we have seen on some of the
32-bit testers.
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions