[PATCH] D45508: Implement --ctors-in-init-array.
George Rimar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 11 03:45:32 PDT 2018
grimar added inline comments.
================
Comment at: lld/ELF/SyntheticSections.cpp:92
+// Section names may include priorities, e.g. .ctors.30 or .init_array.101.
+// .ctors.65535 is the highest priority while .init_array.0 is the highest.
+// So we need to translate the number.
----------------
grimar wrote:
> I would write "while .init_array.65535 is the lowest"
My rewording was not entirely correct. Probably it could be the following:
```
.ctors.0 is the lowest priority while .init_array.0 is the highest.
```
https://reviews.llvm.org/D45508
More information about the llvm-commits
mailing list