HomePhabricator

[ELF] Handle references to garbage collected common symbols

Authored by bd1976llvm on Sep 12 2017, 3:41 PM.

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

llvm-svn: 313086