Re: [PATCH] Dump reason why threads are being cancelled and abstract code.

2021-09-03 Thread Jeff Law via Gcc-patches
On 9/3/2021 7:55 AM, Aldy Hernandez wrote: We are inconsistent on dumping out reasons why a thread was canceled. This makes debugging jump threading problems harder because paths can be canceled with no reason given. This patch abstracts out the thread canceling code and adds a reason for

[PATCH] Dump reason why threads are being cancelled and abstract code.

2021-09-03 Thread Aldy Hernandez via Gcc-patches
We are inconsistent on dumping out reasons why a thread was canceled. This makes debugging jump threading problems harder because paths can be canceled with no reason given. This patch abstracts out the thread canceling code and adds a reason for every cancellation. Tested on x86-64 Linux. OK?