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: unassignedb...@nondot.org
Reporter: thomas.preudho...@celest.fr
CC: llvm-bugs@lists.llvm.org, peter.sm...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs