[PATCH] D154802: [llvm][orc] Consider other ELF init sections as well

Lang Hames via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 18 08:52:11 PDT 2023


lhames added a comment.

Mostly looks good, but should `.dtors` be included as an init section? 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.

It may take some changes on the `ELFNixPlatform` side to make `.dtors` work.


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