HomePhabricator

Bugfix for nullptr check by klocwork

Authored by pengfei on May 9 2019, 1:09 AM.

Description

Bugfix for nullptr check by klocwork

Klocwork static check:
Pointer from call to function DebugLoc::operator DILocation *() const
may be NULL and will be dereference in function printExtendedName``
Patch by Shengchen Kan (skan)
Differential Revision: https://reviews.llvm.org/D61715

llvm-svn: 360317

Details

Committed
pengfeiMay 9 2019, 1:09 AM
Differential Revision
D61715: fix a null pointer deref issue
Parents
rG3edca1ac1aea: [LLD][NFC] Refactor: BuildID hash size now computed in one place.
Branches
Unknown
Tags
Unknown