aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Demangle/RustDemangle.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2021-06-17 11:11:16 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2021-06-18 01:07:52 -0500
commit9959eee0015a97f3eb6bdb1b7b1f500190d66f53 (patch)
treed34a003d601a3dda998f3d73d674d04fbfd30826 /llvm/lib/Demangle/RustDemangle.cpp
parent9a23e673caebdd54d8cc285fcad78f18fa2e919a (diff)
downloadllvm-9959eee0015a97f3eb6bdb1b7b1f500190d66f53.zip
llvm-9959eee0015a97f3eb6bdb1b7b1f500190d66f53.tar.gz
llvm-9959eee0015a97f3eb6bdb1b7b1f500190d66f53.tar.bz2
[Attributor] Make sure Heap2Stack works properly on a GPU target
If the target stack is not accessible between different running "threads" we have to make sure not to create allocas for mallocs that might be used by multiple "threads". The "use check" is sufficient to prevent this but if we apply the "free check" we have to make sure the pointer is not communicated to others before the free is reached. Differential Revision: https://reviews.llvm.org/D98608
Diffstat (limited to 'llvm/lib/Demangle/RustDemangle.cpp')
0 files changed, 0 insertions, 0 deletions