[PATCH] D127056: [ORC][ORC_RT] Handle ELF .init_array with non-default priority

Fangrui Song via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 4 21:35:57 PDT 2022


MaskRay added inline comments.


================
Comment at: llvm/lib/ExecutionEngine/Orc/ELFNixPlatform.cpp:814
+  for (auto &Sec : G.sections()) {
+    if (isInitializerSection(Sec.getName())) {
+      InitSections.push_back(&Sec);
----------------
https://llvm.org/docs/CodingStandards.html#don-t-use-braces-on-simple-single-statement-bodies-of-if-else-loop-statements


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D127056/new/

https://reviews.llvm.org/D127056



More information about the llvm-commits mailing list