[PATCH] D69313: Handle more crt*.o filename variants.
Rui Ueyama via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 22 11:55:33 PDT 2019
ruiu added inline comments.
================
Comment at: lld/ELF/OutputSections.cpp:390-391
+//
+// Gcc uses any of crt[begin|end][<empty>|S|T].o.
+// Clang uses Gcc's plus clang_rt.crt[begin|end][<empty>|S|T][-<arch>|<empty>].o.
static bool isCrtBeginEnd(StringRef s, StringRef filename) {
----------------
At this point maybe we should consider start using regexps?
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69313/new/
https://reviews.llvm.org/D69313
More information about the llvm-commits
mailing list