[PATCH] D154802: [llvm][orc] Consider other ELF init sections as well
    Jeff Niu via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Wed Jul 19 09:08:39 PDT 2023
    
    
  
Mogball added a comment.
> I don't think ELFNixPlatform has any special case logic for .dtors yet, which might lead to functions in .dtors being run immediately upon load.
You are right. I double-checked this and it is causing the dtors to run upon load. I'll comment dtors out and file an issue to fix this in ELFNixPlatform. Thanks for taking a look!
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D154802/new/
https://reviews.llvm.org/D154802
    
    
More information about the llvm-commits
mailing list