Open Quuxplusone opened 6 years ago
Bugzilla Link | PR39179 |
Status | NEW |
Importance | P normal |
Reported by | Greg Bedwell (greg.bedwell@sony.com) |
Reported on | 2018-10-04 10:18:18 -0700 |
Last modified on | 2020-01-27 14:15:35 -0800 |
Version | trunk |
Hardware | PC Windows NT |
CC | andrew.kaylor@intel.com, dblaikie@gmail.com, fedor.v.sergeev@gmail.com, llvm-bugs@lists.llvm.org, paul_robinson@playstation.sony.com, peter@pcc.me.uk, tejohnson@google.com, yuanfang.chen@sony.com |
Fixed by commit(s) | |
Attachments | |
Blocks | |
Blocked by | |
See also |
This is going to be true of any option that causes output from the passes after the Thin Link (another example is -pass-remarks), since ThinLTO uses threads to get parallel execution. I'm not really sure what the solution could be, other than having certain options (like maybe -opt-bisect-limit) force the number of ThinLTO backend threads to 1 (which gives you non-interleaved output at the expense of longer LTO link time). Buffering the output has other issues IMO.
Prefixing log lines with some identifier of the thread or process might be useful, if that's feasible. Then you can grep/filter the log to get what happened in each backend thread separately.