HomePhabricator

[ELF] Handle references to garbage collected common symbols

Description

[ELF] Handle references to garbage collected common symbols

https://reviews.llvm.org/rL312796 meant that references to garbage collected common symbols would cause a segfault.

This change fixes the behaviour for references to stripped common symbols.

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