[PATCH] D108081: [ORC] Add Platform and runtime support for ELF-based platforms
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 15 09:24:05 PDT 2021
MaskRay added a comment.
ELFNix is not used elsewhere. You may just call them ELF platforms.
================
Comment at: llvm/lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp:87
+ for (auto &Sec : G.sections())
+ if (Sec.getName() == ".init_array")
+ return true;
----------------
Use the section type SHT_INIT_ARRAY
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D108081/new/
https://reviews.llvm.org/D108081
More information about the llvm-commits
mailing list