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 Unweaken vtables as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch 2011-12-20 02:50:00 +00:00
Binary.cpp
CMakeLists.txt build/CMake: Finish removal of add_llvm_library_dependencies. 2011-11-29 19:25:30 +00:00
COFFObjectFile.cpp
ELFObjectFile.cpp Object: avoid undefined behavior when bounds-checking 2012-02-04 02:41:39 +00:00
Error.cpp
LLVMBuild.txt LLVMBuild: Remove trailing newline, which irked me. 2011-12-12 19:48:00 +00:00
MachOObject.cpp Remove trailing spaces 2012-01-22 09:02:48 +00:00
MachOObjectFile.cpp
Makefile
Object.cpp
ObjectFile.cpp Remove unused variables. 2011-12-25 01:20:19 +00:00