mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-25 20:23:11 +01:00
7bb78c1965
Basic block sections enables function sections implicitly, this is not needed and is inefficient with "=list" option. We had basic block sections enable function sections implicitly in clang. This is particularly inefficient with "=list" option as it places functions that do not have any basic block sections in separate sections. This causes unnecessary object file overhead for large applications. This patch disables this implicit behavior. It only creates function sections for those functions that require basic block sections. Further, there was an inconistent behavior with llc as llc was not turning on function sections by default. This patch makes llc and clang consistent and tests are added to check the new behavior. This is the first of two patches and this adds functionality in LLVM to create a new section for the entry block if function sections is not enabled. Differential Revision: https://reviews.llvm.org/D93876 |
||
---|---|---|
.. | ||
GlobalISel | ||
CGPassBuilderOption.h | ||
CodeGenCWrappers.h | ||
GenericOpcodes.td | ||
Target.td | ||
TargetCallingConv.td | ||
TargetInstrPredicate.td | ||
TargetIntrinsicInfo.h | ||
TargetItinerary.td | ||
TargetLoweringObjectFile.h | ||
TargetMachine.h | ||
TargetOptions.h | ||
TargetPfmCounters.td | ||
TargetSchedule.td | ||
TargetSelectionDAG.td |