[LLVMbugs] [Bug 14494] LTO crash with very big C++ files

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Dec 7 21:18:59 PST 2012


Duncan Sands <baldrick at free.fr> changed:

           What    |Removed                     |Added
             Status|RESOLVED                    |REOPENED
                 CC|                            |baldrick at free.fr
         Resolution|WORKSFORME                  |

--- Comment #8 from Duncan Sands <baldrick at free.fr> 2012-12-07 23:18:59 CST ---
I can reproduce this here, and it seems to be a problem in the gold linker
plugin itself.  What appears to happen is that all_symbols_read_hook is called
twice.  The problematic symbol is "main".  The first time it is called, "main"
is freed, so the second call reads freed memory (see valgrind log).  Note that
when I run valgrind here I don't get the "Conditional jump or move depends on
uninitialised value(s)" message, the first problem reported is use-after-free.

Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

More information about the llvm-bugs mailing list