diff options
author | Mingming Liu <mingmingl@google.com> | 2024-06-26 11:38:20 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 11:38:20 -0700 |
commit | 3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db (patch) | |
tree | 08f0c4fde15c3ea7f8cd43fe45ea5d0ab0b25d12 /llvm/lib/CodeGen/MachineFunctionPass.cpp | |
parent | 0f24a462386409c1d907aefb9d8a58481cb71933 (diff) | |
download | llvm-3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db.zip llvm-3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db.tar.gz llvm-3f78d89a2e6170d206a6b91a93b3fdf5e46ab6db.tar.bz2 |
[TypeProf][InstrFDO]Omit vtable symbols in indexed profiles by default (#96520)
- The indexed iFDO profiles contains compressed vtable names for `llvm-profdata show --show-vtables` debugging
usage. An optimized build doesn't need it and doesn't decompress the blob now [1], since optimized binary has the
source code and IR to find vtable symbols.
- The motivation is to avoid increasing profile size when it's not necessary.
- This doesn't change the indexed profile format and thereby doesn't need a version change.
[1] https://github.com/llvm/llvm-project/blob/eac925fb81f26342811ad1765e8f9919628e2254/llvm/include/llvm/ProfileData/InstrProfReader.h#L696-L699
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunctionPass.cpp')
0 files changed, 0 insertions, 0 deletions