https://bugs.llvm.org/show_bug.cgi?id=39418

            Bug ID: 39418
           Summary: Do not ICF two sections with different output sections
                    when using linker scripts
           Product: lld
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: ELF
          Assignee: unassignedb...@nondot.org
          Reporter: anng...@gmail.com
                CC: llvm-bugs@lists.llvm.org, peter.sm...@linaro.org

Created attachment 21031
  --> https://bugs.llvm.org/attachment.cgi?id=21031&action=edit
Test to reproduce the issue.

Identical sections except for their output section should not be folded by ICF.
This is already the case when there is no linker script, see r333052
(http://llvm.org/viewvc/llvm-project?view=revision&revision=333052). However,
with linker scripts, ICF still folds such sections.

The attached test, icf-output-section.s, reproduces this issue.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to