[llvm-bugs] [Bug 28575] New: crash with --gc-sections
via llvm-bugs
llvm-bugs at lists.llvm.org
Fri Jul 15 09:05:15 PDT 2016
https://llvm.org/bugs/show_bug.cgi?id=28575
Bug ID: 28575
Summary: crash with --gc-sections
Product: lld
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: ELF
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvm-bugs at lists.llvm.org
Classification: Unclassified
lld crashes trying to link the following test when --gc-sections is used
.globl _start
_start:
.cfi_startproc
.cfi_personality 3, foobar
.cfi_endproc
.section .foobar,"ax"
foobar:
The problem is that we fail to mark .foobar live. When looking at .eh_frame
section we don't want to mark live the section whose address range is being
described, but we do have to mark like sections that are used for the exception
handling personality of any cie we keep.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20160715/555443b5/attachment.html>
More information about the llvm-bugs
mailing list