commit | 2e87f6aeb3acc87f35161f63be22175e6e53b968 | [log] [tgz] |
---|---|---|
author | Greg Clayton <gclayton@apple.com> | Thu Dec 08 01:32:28 2011 +0000 |
committer | Greg Clayton <gclayton@apple.com> | Thu Dec 08 01:32:28 2011 +0000 |
tree | e60892a72ad78ec55c7a3247c3859ffac5978db6 | |
parent | 3d8540ad71a01719417eb37a10e7453374716382 [diff] [blame] |
Don't crash due to not checking log shared pointer. git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@146126 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Expression/ClangASTSource.cpp b/source/Expression/ClangASTSource.cpp index bae92cd..552c545 100644 --- a/source/Expression/ClangASTSource.cpp +++ b/source/Expression/ClangASTSource.cpp
@@ -624,7 +624,8 @@ if (!copied_decl) { - log->Printf(" CAS::FOMD[%d] couldn't import method from symbols", current_id); + if (log) + log->Printf(" CAS::FOMD[%d] couldn't import method from symbols", current_id); continue; }