[PATCH] D67833: [OpenMP 5.0] Codegen support to pass user-defined mapper functions to runtime

Joachim Protze via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 22 04:27:26 PDT 2020


protze.joachim added a comment.

Starting with the commit of this patch, the libomptarget test `llvm-project/openmp/libomptarget/test/offloading/target_depend_nowait.cpp` fails. Here is a stacktrace of the segfault:

  $ gdb target_depend_nowait.cpp.tmp-x86_64-pc-linux-gnu
  (gdb) run
  ...
  Program received signal SIGSEGV, Segmentation fault.
  (gdb) bt
  #0  0x0000000000400fcf in .omp_outlined._debug__ (.global_tid.=0x2aaab96b9be0, .bound_tid.=0x2aaab96b9bd8) at target_depend_nowait.cpp:22
  #1  0x0000000000401e8d in .omp_outlined..23 (.global_tid.=0x2aaab96b9be0, .bound_tid.=0x2aaab96b9bd8) at target_depend_nowait.cpp:18
  #2  0x00002aaaab574213 in __kmp_invoke_microtask () from libomp.so
  #3  0x00002aaaab51338e in __kmp_invoke_task_func () from libomp.so
  #4  0x00002aaaab5126bf in __kmp_launch_thread () from libomp.so
  #5  0x00002aaaab55d3d0 in __kmp_launch_worker(void*) () from libomp.so
  #6  0x00002aaaabbd6e65 in start_thread () from libpthread.so.0
  #7  0x00002aaaabee988d in clone () from libc.so.6


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67833/new/

https://reviews.llvm.org/D67833





More information about the llvm-commits mailing list