[llvm] [AMDGPU] Call the `FINI_ARRAY` destructors in the correct order (PR #71815)
    Jon Chesterfield via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Nov 10 06:41:31 PST 2023
    
    
  
JonChesterfield wrote:
Constructors without additional constraints execute in somewhat arbitrary order.  Destructors, in the C++ sense, do not. Their execution order is the reverse of the arbitrary constructor call order, i.e. exactly fixed.
However that does not detract from this patch looking like the right thing. Thank you for changing the commit message to better correlate with the existing implementation.
https://github.com/llvm/llvm-project/pull/71815
    
    
More information about the llvm-commits
mailing list