diff options
author | Jason Molenda <jmolenda@apple.com> | 2015-12-09 04:15:47 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2015-12-09 04:15:47 +0000 |
commit | 12f79291771d6f4d2941afbee3028dc8ad2e232d (patch) | |
tree | 419399cf98cd564144c3cb7e5bc910a2e31b6088 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | b5104b58841ad7701412f52db04aeccfe91308b1 (diff) | |
download | bcm5719-llvm-12f79291771d6f4d2941afbee3028dc8ad2e232d.tar.gz bcm5719-llvm-12f79291771d6f4d2941afbee3028dc8ad2e232d.zip |
Add some additional safety checks to the StructuredData access
methods - lldb can still crash pretty easily on corrupt JSON text,
and these will help eliminate a bunch of cases where that would
result in a crash. Some of the methods would check that e.g.
GetItemAtIndex would actually return an item before dereferencing it,
some would not, that kind of thing.
<rdar://problem/23768693>
llvm-svn: 255093
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions