aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorMed Ismail Bennani <medismail.bennani@gmail.com>2020-07-07 22:08:20 +0200
committerMed Ismail Bennani <medismail.bennani@gmail.com>2020-07-07 23:30:24 +0200
commit0d7401cf9d5cc0db3de9a8ddb8ea2362d5412d2f (patch)
tree19fe6438e5977c48a41d64776f74ebe82d90975a /clang/lib/Frontend/CompilerInvocation.cpp
parentb6a20a4970813e0c64e2799f83ec246a82f70438 (diff)
downloadllvm-0d7401cf9d5cc0db3de9a8ddb8ea2362d5412d2f.zip
llvm-0d7401cf9d5cc0db3de9a8ddb8ea2362d5412d2f.tar.gz
llvm-0d7401cf9d5cc0db3de9a8ddb8ea2362d5412d2f.tar.bz2
[lldb/api] Add checks for StackFrame::GetRegisterContext calls (NFC)
This patch fixes a crash that is happening because of a null pointer dereference in SBFrame. StackFrame::GetRegisterContext says explicitly that you might not get a valid RegisterContext back but the pointer wasn't tested before, resulting in crashes. This should solve the issue. rdar://54462095 Differential Revision: https://reviews.llvm.org/D83343 Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions