aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorKaviya Rajendiran <67495422+kaviya2510@users.noreply.github.com>2025-01-23 11:14:00 +0530
committerGitHub <noreply@github.com>2025-01-23 11:14:00 +0530
commitdaa18205c6f0a3b5dd62ba2e65948e1a9182a60f (patch)
tree6e486c0bac19f1b237dc917afa367d0be78a835b /llvm/tools/llvm-objdump/llvm-objdump.cpp
parent646f034e4e228f9d5d6a0142210e5e28f2ea7872 (diff)
downloadllvm-daa18205c6f0a3b5dd62ba2e65948e1a9182a60f.zip
llvm-daa18205c6f0a3b5dd62ba2e65948e1a9182a60f.tar.gz
llvm-daa18205c6f0a3b5dd62ba2e65948e1a9182a60f.tar.bz2
[Flang][OpenMP] Fix copyin allocatable lowering to MLIR (#122097)
Fixes https://github.com/llvm/llvm-project/issues/113191 Issue: [flang][OpenMP] Runtime segfault when an allocatable variable is used with copyin Rootcause: The value of the threadprivate variable is not being copied from the primary thread to the other threads within a parallel region. As a result it tries to access a null pointer inside a parallel region which causes segfault. Fix: When allocatables used with copyin clause need to ensure that, on entry to any parallel region each thread’s copy of a variable will acquire the allocation status of the primary thread, before copying the value of a threadprivate variable of the primary thread to the threadprivate variable of each other member of the team.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions