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 | 19ef24a38bfbbc9ef61ad6cb7cc73f7773251d73 (patch) | |
tree | 2592c9cf9fa262e11c8a14f8c8aae72bf9a75831 /test/CodeGen/powerpc_types.c | |
parent | 9ec95c85e71e9c9360c9e3fd8c984432bbbec1f5 (diff) | |
download | clang-19ef24a38bfbbc9ef61ad6cb7cc73f7773251d73.tar.gz |
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.)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@212007 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/powerpc_types.c')
0 files changed, 0 insertions, 0 deletions