Skip to content
Commit 78ef645f authored by George Rimar's avatar George Rimar
Browse files

[ELF] - Do not segfault when using --gc-sections with linker script

Patch fixes PR32024.

Sections that were not marked as Live has null output section.
Previously we tried to access that field and segfaulted.

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

llvm-svn: 295727
parent cc43087a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment