diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-02-05 04:12:40 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-02-05 04:12:40 +0000 |
commit | d0807aee51b7a19a58d8b4c2044bc17a5fddf545 (patch) | |
tree | 2a9425d9d2dd050364cf5a4888a13009a72878e0 /lldb/packages/Python/lldbsuite | |
parent | 06d29a24663adea9b115fabe4cdedea6284ce14d (diff) | |
download | bcm5719-llvm-d0807aee51b7a19a58d8b4c2044bc17a5fddf545.tar.gz bcm5719-llvm-d0807aee51b7a19a58d8b4c2044bc17a5fddf545.zip |
CodeGen: correct Windows ARM C++ assertion
Because the Decl is explicitly passed as nullptr further up the call chain, it
is possible to invoke isa on a nullptr, which will assert. Guard against the
nullptr.
Take the opportunity to reuse the helper method rather than re-implementing this
logic.
llvm-svn: 259874
Diffstat (limited to 'lldb/packages/Python/lldbsuite')
0 files changed, 0 insertions, 0 deletions