[llvm-bugs] [Bug 44093] New: Use of stale error stream when linking several times

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Nov 20 13:13:59 PST 2019


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

            Bug ID: 44093
           Summary: Use of stale error stream when linking several times
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: thomas.preudhomme at celest.fr
                CC: llvm-bugs at lists.llvm.org, peter.smith at linaro.org

llvm::lld::link() use stderrOS from previous call when calling
llvm::lld::enableColors() due to stderrOS being initialized after calling
enableColors. This leads to random crashes when stderrOS is a different local
variable object at each invocation of link().

-- 
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/20191120/1d29aced/attachment.html>


More information about the llvm-bugs mailing list