diff options
| author | David Goldman <davg@google.com> | 2020-07-09 17:32:05 -0400 |
|---|---|---|
| committer | David Goldman <davg@google.com> | 2020-07-10 15:35:14 -0400 |
| commit | ea201e83e292f39c3ee7fe8810a348ee98000398 (patch) | |
| tree | 3af0bb3be8b4d07d45f25571a5978924b761a16f /lldb/source/Utility/Reproducer.cpp | |
| parent | 9bf6354301ac4e1c7a00e4ef46decba38840fe62 (diff) | |
| download | llvm-ea201e83e292f39c3ee7fe8810a348ee98000398.tar.gz llvm-ea201e83e292f39c3ee7fe8810a348ee98000398.tar.bz2 llvm-ea201e83e292f39c3ee7fe8810a348ee98000398.zip | |
[AST][ObjC] Fix crash when printing invalid objc categories
Summary:
If no valid interface definition was found previously we would crash.
With this change instead we just print `<<error-type>>` in place
of the NULL interface. In the future this could be improved by
saving the invalid interface's name and using that.
Reviewers: sammccall, gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D83513
Diffstat (limited to 'lldb/source/Utility/Reproducer.cpp')
0 files changed, 0 insertions, 0 deletions
