llvm-project/clang/docs/HLSL
Chris Bieneman a8a49923dd [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
2022-09-13 15:05:47 -05:00
..
EntryFunctions.rst [HLSL] Call global destructors from entries 2022-09-13 15:05:47 -05:00
HLSLDocs.rst
HLSLSupport.rst
ResourceTypes.rst [Docs] Fixing incorrect document title 2022-08-30 12:19:05 -05:00