[lldb] Quick Fix: IRExecutionUnit check pointer before access it
authorAlex Langford <apl@fb.com>
Tue, 9 Jul 2019 22:24:54 +0000 (22:24 +0000)
committerAlex Langford <apl@fb.com>
Tue, 9 Jul 2019 22:24:54 +0000 (22:24 +0000)
commit269b9f940ff919d9ebf5cd94f5a87d38e32bdb2c
tree424e1a82f65fd517ce6e311d2f34f1ac0692bd55
parent14a4495155c957d7690184ded94f6c42981991ff
[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
lldb/source/Expression/IRExecutionUnit.cpp