Joachim Protze
66a3575c28
[OpenMP] Fix releasing of stack memory
...
Starting with 787eb0c637b I got spurious segmentation faults for some testcases. I could nail it down to `brel` trying to release the "memory" of the node allocated on the stack of __kmpc_omp_wait_deps. With this patch, you will see the assertion triggering for some of the tests in the test suite.
My proposed solution for the issue is to just patch __kmpc_omp_wait_deps:
```
__kmp_init_node(&node);
- node.dn.on_stack = 1;
+ // the stack owns the node
+ __kmp_node_ref(&node);
```
What do you think?
Reviewed By: AndreyChurbanov
Differential Revision: https://reviews.llvm.org/D84472
2020-08-14 10:32:53 +02:00
..
2020-04-04 12:06:54 +09:00
2020-03-04 18:15:05 +03:00
2020-04-04 12:06:54 +09:00
2020-08-04 18:48:25 +03:00
2020-03-04 18:15:05 +03:00
2020-07-06 17:22:26 -05:00
2020-01-07 14:05:03 +08:00
2020-07-18 01:15:37 +03:00
2020-01-20 18:52:10 +00:00
2020-04-04 12:06:54 +09:00
2020-01-07 14:05:03 +08:00
2019-07-12 21:45:36 +00:00
2020-07-17 21:10:25 +03:00
2019-07-12 21:45:36 +00:00
2019-07-12 21:45:36 +00:00
2020-07-28 14:00:11 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-07-12 21:45:36 +00:00
2019-01-19 10:56:40 +00:00
2020-04-04 12:06:54 +09:00
2020-07-20 23:49:58 +03:00
2020-06-04 15:39:45 +03:00
2019-01-19 10:56:40 +00:00
2020-04-04 12:06:54 +09:00
2020-07-20 23:49:58 +03:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2020-07-31 12:29:05 +02:00
2019-01-19 10:56:40 +00:00
2020-07-06 17:22:26 -05:00
2019-01-19 10:56:40 +00:00
2019-09-04 17:47:37 +00:00
2020-07-06 17:22:26 -05:00
2020-04-04 12:06:54 +09:00
2020-04-04 12:06:54 +09:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-02-28 19:11:29 +00:00
2020-07-21 00:12:46 +03:00
2020-08-04 23:15:36 +03:00
2020-07-28 14:00:11 +00:00
2020-04-04 12:06:54 +09:00
2020-07-31 12:29:05 +02:00
2020-07-28 14:00:11 +00:00
2020-07-21 00:12:46 +03:00
2019-01-19 10:56:40 +00:00
2020-07-21 00:12:46 +03:00
2020-04-04 12:06:54 +09:00
2020-03-04 18:15:05 +03:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2020-04-04 12:06:54 +09:00
2020-04-04 12:06:54 +09:00
2020-01-03 22:03:42 -05:00
2020-04-04 12:06:54 +09:00
2020-04-04 12:06:54 +09:00
2019-07-12 21:45:36 +00:00
2020-08-14 10:32:53 +02:00
2019-07-12 21:45:36 +00:00
2020-07-20 23:49:58 +03:00
2020-07-21 00:12:46 +03:00
2020-04-04 12:06:54 +09:00
2019-07-12 21:45:36 +00:00
2020-02-12 15:45:55 -05:00
2019-01-19 10:56:40 +00:00
2019-08-03 02:38:53 +00:00
2019-10-30 12:37:44 +03:00
2020-04-04 12:06:54 +09:00
2020-07-28 14:00:11 +00:00
2019-01-19 10:56:40 +00:00
2019-12-27 15:30:51 +01:00
2019-11-18 14:45:34 +01:00
2020-06-19 12:51:18 +02:00
2020-07-31 12:29:05 +02:00
2020-04-04 12:06:54 +09:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00
2020-07-28 14:00:11 +00:00
2020-07-28 14:00:11 +00:00
2020-01-03 22:03:42 -05:00
2019-01-19 10:56:40 +00:00
2019-01-19 10:56:40 +00:00