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

            Bug ID: 38663
           Summary: lld from llvm 6 crashes with stack overflow
                    @CopyRewriter::getNewSource when doing PGO + LTO of
                    Firefox
           Product: new-bugs
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: mh+l...@glandium.org
                CC: llvm-bugs@lists.llvm.org, sylves...@debian.org

When building Firefox with clang 6, and enabling both PGO and LTO, the linker
crashes on linux 64-bits with what appears to be an infinite recursion through
CopyRewriter::getNewSource.

After some bisecting, I found the following:
- r322684 is the first revision that is broken on the release_60 branch.
- that revision is a cherry pick of r322313 from trunk, which is
  similarly broken.
- trunk was fixed by r322325, which, funnily enough, predates when
  r322313 was cherry-picked (and supposedly came with no functional change).

I guess the release_60 branch is dead at this point, but if it's not, this
should be addressed.

This doesn't affect clang 7 (obviously, since r322325 fixed it).

-- 
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