HomePhabricator

[lld-macho][re-land] Support .subsections_via_symbols

Authored by int3 on May 19 2020, 8:46 AM.

Description

[lld-macho][re-land] Support .subsections_via_symbols

Summary:
This diff restores and builds upon @pcc and @ruiu's initial work on
subsections.

The .subsections_via_symbols directive indicates we can split each
section along symbol boundaries, unless those symbols have been marked
with .alt_entry.

We exercise this functionality in our tests by using order files that
rearrange those symbols.

Depends on D79668.

Reviewers: ruiu, pcc, MaskRay, smeenai, alexshap, gkm, Ktwu, christylee

Reviewed By: smeenai

Subscribers: thakis, llvm-commits, pcc, ruiu

Tags: #llvm

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

Details

Committed
int3May 19 2020, 12:31 PM
Reviewer
smeenai
Differential Revision
D79926: [lld-macho] Support .subsections_via_symbols
Parents
rGb2d733c35078: [llvm][docs] Add step by step git to GettingStarted
Branches
Unknown
Tags
Unknown