aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-09-13 13:07:46 -0500
committerChris Bieneman <chris.bieneman@me.com>2022-09-13 15:05:47 -0500
commita8a49923ddf75be9b6166be2f6a1f50a99817841 (patch)
tree3e1b86b72ed20f89ad017a9663b0c6f6761932f8 /llvm/lib/CodeGen/MachineOperand.cpp
parent8433b210839ed655852428ba8b34bb67b191957a (diff)
downloadllvm-a8a49923ddf75be9b6166be2f6a1f50a99817841.zip
llvm-a8a49923ddf75be9b6166be2f6a1f50a99817841.tar.gz
llvm-a8a49923ddf75be9b6166be2f6a1f50a99817841.tar.bz2
[HLSL] Call global destructors from entries
HLSL doesn't have a C++ runtime that supports `atexit` registration. To enable global destructors we instead rely on the `llvm.global_dtor` mechanism. This change disables `atexit` generation for HLSL and updates the HLSL code generation to call global destructors on the exit from entry functions. Depends on D132977. Reviewed By: aaron.ballman Differential Revision: https://reviews.llvm.org/D133518
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions