llvm-6502/lib/Object
Dylan Noblesmith 069df954a1 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
2012-02-04 02:41:39 +00:00
..
Archive.cpp
Binary.cpp
CMakeLists.txt
COFFObjectFile.cpp
ELFObjectFile.cpp Object: avoid undefined behavior when bounds-checking 2012-02-04 02:41:39 +00:00
Error.cpp
LLVMBuild.txt
MachOObject.cpp
MachOObjectFile.cpp
Makefile
Object.cpp
ObjectFile.cpp