HomePhabricator

[lldb] Quick Fix: IRExecutionUnit check pointer before access it

Authored by xiaobai on Jul 9 2019, 3:24 PM.

Description

[lldb] Quick Fix: IRExecutionUnit check pointer before access it

Summary:
Move checking pointer code block before accessing the pointer
This caused lldb to crash when testing on Android

Patch by Wanyi Ye!

Differential Revision: https://reviews.llvm.org/D64434

llvm-svn: 365567