HomePhabricator

set default max-page-size to 4KB in lld for Android Aarch64

Description

set default max-page-size to 4KB in lld for Android Aarch64

Summary:
This patch passes an option '-z max-page-size=4096' to lld through clang driver.

This is for Android on Aarch64 target.

The lld default page size is too large for Aarch64, which produces larger .so files and images for arm64 device targets.
In this patch we set default page size to 4KB for Android Aarch64 targets instead.

Reviewers: srhines, danalbert, ruiu, chh, peter.smith

Reviewed By: srhines

Subscribers: javed.absar, kristof.beyls, cfe-commits, george.burgess.iv, llozano

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

Details

Committed
zhizhouyNov 29 2018, 10:52 AM
Reviewer
srhines
Differential Revision
D55029: set default max-page-size to 4KB in lld for Android Aarch64
Parents
rL347896: [InstSimplify] fold select with implied condition
Branches
Unknown
Tags
Unknown