diff options
author | Augusto Noronha <augusto2112@me.com> | 2021-05-11 13:15:03 -0300 |
---|---|---|
committer | Augusto Noronha <augusto2112@me.com> | 2021-05-11 13:15:20 -0300 |
commit | ec28e43e01540a57f8822b2efb8638996873f945 (patch) | |
tree | 070b4b1d869320e90cabd9ef12ab01f5baaf171d /llvm/lib/TextAPI | |
parent | 6c82b8a378a6f59e94a81d91225db4fabf6e2bff (diff) | |
download | llvm-ec28e43e01540a57f8822b2efb8638996873f945.zip llvm-ec28e43e01540a57f8822b2efb8638996873f945.tar.gz llvm-ec28e43e01540a57f8822b2efb8638996873f945.tar.bz2 |
Add null-pointer checks when accessing a TypeSystem's SymbolFile
A type system is not guaranteed to have a symbol file. This patch adds null-pointer checks so we don't crash when trying to access a type system's symbol file.
Reviewed By: aprantl, teemperor
Differential Revision: https://reviews.llvm.org/D101539
Diffstat (limited to 'llvm/lib/TextAPI')
0 files changed, 0 insertions, 0 deletions