Skip to content

Commit

Permalink
[Tool] Fix segfault for task_create on mode 2
Browse files Browse the repository at this point in the history
  • Loading branch information
Thyre committed Aug 21, 2024
1 parent 934aa0c commit 1fc9d4b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1003,6 +1003,7 @@ callback_task_create( ompt_data_t* encountering_task_data,
"new_task_data->value = %lu (%p) | flags = %s | has_dependences = %d | codeptr_ra = %p\n",
__FUNCTION__,
encountering_task_data ? encountering_task_data->value : unknown_task_id,
encountering_task_data,
encountering_task_frame,
new_task_data ? new_task_data->value : unknown_task_id,
new_task_data,
Expand Down

0 comments on commit 1fc9d4b

Please sign in to comment.