llvm-project/clang/lib/Driver
Zhizhou Yang 514a647433 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

llvm-svn: 347897
2018-11-29 18:52:22 +00:00
..
ToolChains set default max-page-size to 4KB in lld for Android Aarch64 2018-11-29 18:52:22 +00:00
Action.cpp [modules] Driver support for precompiling a collection of files as a single 2018-09-15 01:21:16 +00:00
CMakeLists.txt Add Hurd target to Clang driver (2/2) 2018-11-29 03:49:14 +00:00
Compilation.cpp Fix MSVC 2015 ambiguous symbol warning introduced by rL344337. NFCI. 2018-10-12 15:16:25 +00:00
Distro.cpp Add support of the next Ubuntu (Ubuntu 19.04 - Disco Dingo) 2018-11-04 17:41:41 +00:00
Driver.cpp Add Hurd target to Clang driver (2/2) 2018-11-29 03:49:14 +00:00
DriverOptions.cpp Revert "Revert r311552: [Bash-autocompletion] Add support for static analyzer flags" 2017-08-29 00:09:31 +00:00
InputInfo.h Add an Action* member to InputInfo. 2016-01-11 23:15:21 +00:00
Job.cpp Re-commit r344234 "clang-cl: Add /showFilenames option (PR31957)" 2018-10-13 19:13:14 +00:00
Multilib.cpp [Driver] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-20 21:08:59 +00:00
Phases.cpp
SanitizerArgs.cpp Driver: SCS is compatible with every other sanitizer. 2018-11-20 01:01:49 +00:00
Tool.cpp Rename the version of ConstructJob for multiple outputs to ConstructJobMultipleOutputs. 2016-11-03 15:41:50 +00:00
ToolChain.cpp Revert "Reapply: [Driver] Use forward slashes in most linker arguments" 2018-10-26 08:33:29 +00:00
Types.cpp [modules] Driver support for precompiling a collection of files as a single 2018-09-15 01:21:16 +00:00
XRayArgs.cpp [Driver] Support XRay on Fuchsia 2018-11-22 02:36:47 +00:00