![]() Inline assembly refererences to static functions with ThinLTO+CFI were fixed in D104058 by creating aliases for promoted functions. Creating the aliases unconditionally resulted in an unexpected size increase in a Chrome helper binary: https://bugs.chromium.org/p/chromium/issues/detail?id=1261715 This is caused by the compiler being unable to drop unused code now referenced by the alias in module-level inline assembly. This change adds a .set_conditional assembly extension, which emits an assignment only if the target symbol is also emitted, avoiding phantom references to functions that could have otherwise been dropped. This is an alternative to the solution proposed in D112761. Reviewed By: pcc, nickdesaulniers, MaskRay Differential Revision: https://reviews.llvm.org/D113613 |
||
---|---|---|
.. | ||
x86 | ||
associated.ll | ||
cfi-debug-info-cloned-type-references-global-value.ll | ||
cfi-functions-canonical-jump-tables.ll | ||
cfi-icall-static-inline-asm.ll | ||
circular-reference.ll | ||
comdat.ll | ||
filter-alias.ll | ||
function-alias.ll | ||
new-pm.ll | ||
no-type-md.ll | ||
pr33536.ll | ||
split-dsolocal.ll | ||
split-internal-typeid.ll | ||
split-internal1.ll | ||
split-internal2.ll | ||
split-used.ll | ||
split-vfunc-internal.ll | ||
split-vfunc.ll | ||
split.ll | ||
symver.ll | ||
unsplittable.ll |