aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorShilei Tian <i@tianshilei.me>2022-10-06 16:13:22 -0400
committerShilei Tian <i@tianshilei.me>2022-10-06 16:13:33 -0400
commit32dc48094b0c7074617a2b237927128ef148db6d (patch)
tree6e165b5356cbc24d687626adb1cb588a49a6cca3 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentb9898e7ed1cea0fc429674e655f91d28b9964814 (diff)
downloadllvm-32dc48094b0c7074617a2b237927128ef148db6d.zip
llvm-32dc48094b0c7074617a2b237927128ef148db6d.tar.gz
llvm-32dc48094b0c7074617a2b237927128ef148db6d.tar.bz2
[OpenMP][DeviceRTL] Fix an issue that thread array might be corrupted
The shared memory stack in the device runtime assumes no intervined uses. D135037 breaks the assumption, potentially causing the shared stack corruption. This patch moves the thread array to heap memory. Since it is already the slow path, it doesn't matter that much anyway. Reviewed By: jhuber6 Differential Revision: https://reviews.llvm.org/D135391
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions