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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]

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.
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to