[all-commits] [llvm/llvm-project] 118cee: Crt files are special cased by name when dealing w...

Sterling-Augustine via All-commits all-commits at lists.llvm.org
Fri Oct 25 11:06:54 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 118ceea5c364bd69c52b2a24acd543c28fb35fcb
      https://github.com/llvm/llvm-project/commit/118ceea5c364bd69c52b2a24acd543c28fb35fcb
  Author: Sterling Augustine <saugustine at google.com>
  Date:   2019-10-25 (Fri, 25 Oct 2019)

  Changed paths:
    M lld/ELF/OutputSections.cpp
    M lld/test/ELF/ctors_dtors_priority.s

  Log Message:
  -----------
  Crt files are special cased by name when dealing with ctor and dtor
sections, but the current code misses certain variants. In particular, those
named when clang takes the code path in
clang/lib/Driver/ToolChain.cpp:416, where crtfiles are named:

clang_rt.<component>-<arch>-<env>.<suffix>

Previously, the code only handled:
clang_rt.<component>.<suffix>
<component>.<suffix>

This revision fixes that.




More information about the All-commits mailing list