diff options
author | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-04 02:41:39 +0000 |
---|---|---|
committer | Dylan Noblesmith <nobled@dreamwidth.org> | 2012-02-04 02:41:39 +0000 |
commit | 069df954a1270cacbd477357dfbf116d47fdf254 (patch) | |
tree | b7c7e2649fdf495193b7cbf7cf163519d119438e /lib/CodeGen/LLVMTargetMachine.cpp | |
parent | 3e82b4ad2a006c29da96a28c1b91c9b816503290 (diff) |
Object: avoid undefined behavior when bounds-checking
Don't form an out of bounds pointer just to test if it
would be out of bounds.
Also perform the same bounds checking for all the previous
mapped structures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@149750 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LLVMTargetMachine.cpp')
0 files changed, 0 insertions, 0 deletions