[all-commits] [llvm/llvm-project] 04eec6: [lld-macho][nfc] Move list of section names into I...

Jez Ng via All-commits all-commits at lists.llvm.org
Sat Mar 13 14:42:08 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04eec6f8815fba5c95826e5c5ffb2246c021dbc8
      https://github.com/llvm/llvm-project/commit/04eec6f8815fba5c95826e5c5ffb2246c021dbc8
  Author: Jez Ng <jezng at fb.com>
  Date:   2021-03-13 (Sat, 13 Mar 2021)

  Changed paths:
    M lld/MachO/InputSection.h
    M lld/MachO/SyntheticSections.cpp
    M lld/MachO/SyntheticSections.h

  Log Message:
  -----------
  [lld-macho][nfc] Move list of section names into InputSection.h

They were previously in SyntheticSections.h, but now there are
a bunch of non-synthetic section names in the list.

Also renamed `__functionStarts` to `__func_starts` for uniformity with
other section names + keeps the name under 16 characters (in case we ever
want to write it out as a real section).

Reviewed By: #lld-macho, compnerd

Differential Revision: https://reviews.llvm.org/D98586




More information about the All-commits mailing list