aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2014-10-20 23:52:07 +0000
committerPhilip Reames <listmail@philipreames.com>2014-10-20 23:52:07 +0000
commitbf9676f7f073e40ea9956cbc99148067bcce96b2 (patch)
treeb7d4665f1b6d2651c366e5d930afe2e7daae4c34 /llvm/lib/Object/MachOObjectFile.cpp
parent84801c217c69d31c24d0f1f5c7623fba5ce00536 (diff)
downloadllvm-bf9676f7f073e40ea9956cbc99148067bcce96b2.zip
llvm-bf9676f7f073e40ea9956cbc99148067bcce96b2.tar.gz
llvm-bf9676f7f073e40ea9956cbc99148067bcce96b2.tar.bz2
Extend the verifier to validate range metadata on calls and invokes.
Range metadata applies to loads, call, and invokes. We were validating that metadata applied to loads was correct according to the LangRef, but we were not validating metadata applied to calls or invokes. This change extracts the checking functionality to a common location, reuses it for all valid locations, and adds a simple test to ensure a misused range on a call gets reported. llvm-svn: 220246
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions