aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineOperand.cpp
diff options
context:
space:
mode:
authorJez Ng <jezng@fb.com>2021-07-01 20:33:44 -0400
committerJez Ng <jezng@fb.com>2021-07-01 21:22:38 -0400
commitac2dd06b91ae7264fa7d396c15c7647510ede231 (patch)
treef6c2ddc1d0da9a2aaf3f26dc98a72b6970f7c6c8 /llvm/lib/CodeGen/MachineOperand.cpp
parent3a11528d97a788781de82f939f502abe7fbd729d (diff)
downloadllvm-ac2dd06b91ae7264fa7d396c15c7647510ede231.zip
llvm-ac2dd06b91ae7264fa7d396c15c7647510ede231.tar.gz
llvm-ac2dd06b91ae7264fa7d396c15c7647510ede231.tar.bz2
[lld-macho] Deduplicate CFStrings
`__cfstring` is a special literal section, so instead of breaking it up at symbol boundaries, we break it up at fixed-width boundaries (since each literal is the same size). Symbols can only occur at one of those boundaries, so this is strictly more powerful than `.subsections_via_symbols`. With that in place, we then run the section through ICF. This change is about perf-neutral when linking chromium_framework. Reviewed By: #lld-macho, gkm Differential Revision: https://reviews.llvm.org/D105045
Diffstat (limited to 'llvm/lib/CodeGen/MachineOperand.cpp')
0 files changed, 0 insertions, 0 deletions