[LTO] Handle null GV in Symbol object
authorTeresa Johnson <tejohnson@google.com>
Sat, 10 Sep 2016 06:15:26 +0000 (06:15 +0000)
committerTeresa Johnson <tejohnson@google.com>
Sat, 10 Sep 2016 06:15:26 +0000 (06:15 +0000)
commit03c3511211623f7750f11eeba62f906ab7a41c39
treee6bff56ec3b508d84b439c8b2bd23f5d0fe3813a
parent3d17313734266d4a6d4a840b323c2eba9179b227
[LTO] Handle null GV in Symbol object

Similar to other Symbol methods, have Symbol::getComdat handle
a null GV gracefully.

Fixes PR30326.

llvm-svn: 281134
llvm/include/llvm/LTO/LTO.h