diff options
author | Tim Northover <tnorthover@apple.com> | 2013-08-04 09:35:57 +0000 |
---|---|---|
committer | Tim Northover <tnorthover@apple.com> | 2013-08-04 09:35:57 +0000 |
commit | ecc018c7b750289511052ee5d83c40a574e499ac (patch) | |
tree | 1447fe8dc57570ac07c7767dad7ceacc13ade877 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1df3a1f67849d31e388b04037b1b6013fcab0651 (diff) | |
download | llvm-ecc018c7b750289511052ee5d83c40a574e499ac.zip llvm-ecc018c7b750289511052ee5d83c40a574e499ac.tar.gz llvm-ecc018c7b750289511052ee5d83c40a574e499ac.tar.bz2 |
X86: correct tail return address calculation
Due to the weird and wondeful usual arithmetic conversions, some
calculations involving negative values were getting performed in
uint32_t and then promoted to int64_t, which is really not a good
idea.
Patch by Katsuhiro Ueno.
llvm-svn: 187703
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions