diff options
author | Alp Toker <alp@nuanti.com> | 2014-06-30 01:33:59 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2014-06-30 01:33:59 +0000 |
commit | 7b463d5a07a3f18710c5ec4a6f9e3392ffe7a85b (patch) | |
tree | 0987302ba28f463a580cb97be1a9b0e6009ea66a /clang/test/CodeGenCXX/int64_uint64.cpp | |
parent | 034bbd5db77e2ae69b26eb9b1159867728807624 (diff) | |
download | bcm5719-llvm-7b463d5a07a3f18710c5ec4a6f9e3392ffe7a85b.tar.gz bcm5719-llvm-7b463d5a07a3f18710c5ec4a6f9e3392ffe7a85b.zip |
CodeGenAction::ExecuteAction(): check for invalid LLVM source locations
Add sign checks to deal with the fact that IR parser line/column pairs are
signed integers and sometimes invalid.
The crash path is potentially triggered by corrupt '.bc' files in practice,
though I don't have a binary input test case that can be checked-in right now.
(Unfortunately the backend itself crashes on various ill-formed '.bc' inputs so
this bandage isn't as helpful as it appears yet.)
llvm-svn: 212007
Diffstat (limited to 'clang/test/CodeGenCXX/int64_uint64.cpp')
0 files changed, 0 insertions, 0 deletions