Skip to content
Commit 3cdf0d96 authored by George Rimar's avatar George Rimar
Browse files

[ELF] - Report error if removed empty output section declaration used undefined symbols.

This is for fixing PR36297.

Issue itself is that if we have SECTIONS { .bar (a+b) : { *(.stub) } };
script and no section .stub, when LLD will remove .bar, but
produce output with undefined symbols a and b.

Differential revision: https://reviews.llvm.org/D43069

llvm-svn: 325875
parent 1fdb280b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment