diff options
author | Sanjay Patel <spatel@rotateright.com> | 2016-05-20 14:09:41 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2016-05-20 14:09:41 +0000 |
commit | 42bbe77009b0875524f9f14b176c757393bf5da3 (patch) | |
tree | aa07dc879197f1025e8154aa1efe0600c0059e7e /llvm/lib/CodeGen/RegisterScavenging.cpp | |
parent | a053101c9516485afe9fb55daa0493ab8acc0eb8 (diff) | |
download | llvm-42bbe77009b0875524f9f14b176c757393bf5da3.zip llvm-42bbe77009b0875524f9f14b176c757393bf5da3.tar.gz llvm-42bbe77009b0875524f9f14b176c757393bf5da3.tar.bz2 |
[MCExpr] avoid UB via negation of INT_MIN
I accidentally exposed a bug in MCExpr::evaluateAsRelocatableImpl() with the test file added in:
http://reviews.llvm.org/rL269977
Differential Revision: http://reviews.llvm.org/D20434
llvm-svn: 270218
Diffstat (limited to 'llvm/lib/CodeGen/RegisterScavenging.cpp')
0 files changed, 0 insertions, 0 deletions