diff options
author | Stephen Hines <srhines@google.com> | 2018-07-26 20:05:31 +0000 |
---|---|---|
committer | Stephen Hines <srhines@google.com> | 2018-07-26 20:05:31 +0000 |
commit | e6e75bf84c94e03313594c1b5faf2b8065969c39 (patch) | |
tree | f5e01740d9cfce74e014d80b868aef5f6c933515 /clang/unittests/Basic/VirtualFileSystemTest.cpp | |
parent | d742d645a1fc6630e462c5702c4429368cc41077 (diff) | |
download | llvm-e6e75bf84c94e03313594c1b5faf2b8065969c39.zip llvm-e6e75bf84c94e03313594c1b5faf2b8065969c39.tar.gz llvm-e6e75bf84c94e03313594c1b5faf2b8065969c39.tar.bz2 |
Handle the lack of a symbol table correctly.
Summary:
These two cases will trigger a dereference on a nullptr, since the
SymbolTable can be nonexistent for a given library, in addition to just
being empty.
Reviewers: alexshap
Reviewed By: alexshap
Subscribers: meikeb, kongyi, chh, jakehehrlich, llvm-commits, pirama
Differential Revision: https://reviews.llvm.org/D49534
llvm-svn: 338062
Diffstat (limited to 'clang/unittests/Basic/VirtualFileSystemTest.cpp')
0 files changed, 0 insertions, 0 deletions