forked from OSchip/llvm-project
b380846a12
Summary: This was flagged in https://www.viva64.com/en/b/0629/ under "Snippet No. 33". It seems that this statement is doing the standard bitwise trick for adjusting a value to have a specific alignment. The issue is that getStubAlignment() returns an unsigned, while DataSize is declared a uint64_t. The right hand side of the expression is not extended to 64b before bitwise negation, resulting in the top half of the mask being 0s, which is not correct for realignment. Reviewers: lhames, MaskRay Reviewed By: MaskRay Subscribers: RKSimon, MaskRay, hiraditya, llvm-commits, srhines Tags: #llvm Differential Revision: https://reviews.llvm.org/D62227 llvm-svn: 362286 |
||
---|---|---|
.. | ||
Targets | ||
CMakeLists.txt | ||
JITSymbol.cpp | ||
LLVMBuild.txt | ||
RTDyldMemoryManager.cpp | ||
RuntimeDyld.cpp | ||
RuntimeDyldCOFF.cpp | ||
RuntimeDyldCOFF.h | ||
RuntimeDyldChecker.cpp | ||
RuntimeDyldCheckerImpl.h | ||
RuntimeDyldELF.cpp | ||
RuntimeDyldELF.h | ||
RuntimeDyldImpl.h | ||
RuntimeDyldMachO.cpp | ||
RuntimeDyldMachO.h |