Introduce .rodata.cold section that is used for infrequently accessed
data to improve cache utilization.
Background: BOLT performs an optimization of moving unused jump tables
to .rodata.cold section. More details are here:
BOLT
Paths
| Differential D102289
[MC][ELF] Introduce .rodata.cold section AbandonedPublic Authored by Amir on May 11 2021, 5:00 PM.
Details
Diff Detail
Event TimelineAmir retitled this revision from [MC] Add .rodata.cold section to [MC][ELF] Introduce .rodata.cold section.Jun 4 2021, 11:13 PM Comment Actions The default section variables are there because they are referenced in many places internally. This revision now requires changes to proceed.Jun 5 2021, 4:10 PM Comment Actions @MaskRay: makes sense. Will just use MCObjectFileInfo->getContext()... interface since we're only using in a single place.
Revision Contents
Diff 344600 llvm/include/llvm/MC/MCObjectFileInfo.h
llvm/lib/MC/MCObjectFileInfo.cpp
|