SuccessChanges

Summary

  1. [Object] Fix LFFile<ELFT>::getEntry on sizeof(size_t)==4 platforms (details)
  2. [lld-macho][nfc] Use split-file in order file test (details)
  3. [lld-macho] Support Obj-C symbols in order files (details)
  4. [lld-macho] Have order files support filtering by archive member paths (details)
Commit 43327ba98da138d9d87e13f65675a0b600dae018 by i
[Object] Fix LFFile<ELFT>::getEntry on sizeof(size_t)==4 platforms

This should fix:

Failed Tests (2):
  LLVM-Unit :: Object/./ObjectTests/ELFObjectFileTest.InvalidSymbolTest
  LLVM :: tools/llvm-readobj/ELF/relocation-errors.test
The file was modifiedllvm/include/llvm/Object/ELF.h
Commit e2863357de77d6980cbb5a17605b8928d96ddd20 by jezng
[lld-macho][nfc] Use split-file in order file test

Makes it much easier to edit / maintain.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D93566
The file was modifiedlld/test/MachO/order-file.s
Commit 5f9896d3b23c31beecf225d90194e1bf4e097677 by jezng
[lld-macho] Support Obj-C symbols in order files

Obj-C symbols may have spaces and colons, which our previous order file
parser would be confused by. The order file format has made the very unfortunate
choice of using colons for its delimiters, which means that we have to use
heuristics to determine if a given colon is part of a symbol or not...

Reviewed By: #lld-macho, thakis

Differential Revision: https://reviews.llvm.org/D93567
The file was modifiedlld/MachO/Driver.cpp
The file was removedlld/test/MachO/invalid/order-file-bad-objfile.test
The file was removedlld/test/MachO/invalid/order-file-bad-arch.test
The file was modifiedlld/test/MachO/order-file.s
Commit 64e47572002023d1ddd6bd12299ac12969af8665 by jezng
[lld-macho] Have order files support filtering by archive member paths

Also remove iteration over ArchiveFile symbols in buildInputSectionPriorities --
that was rendered unnecessary after D92539, which included ObjFiles from
ArchiveFiles inside the `inputFiles` vector.

Reviewed By: #lld-macho, smeenai

Differential Revision: https://reviews.llvm.org/D93569
The file was modifiedlld/test/MachO/order-file.s
The file was modifiedlld/MachO/Writer.cpp