[PATCH] D55309: ThinLTO: Do not import debug info for imported global constants
Eugene Leviant via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 5 08:45:35 PST 2018
evgeny777 added a comment.
> Could you tell me the commands I need to run to test this?
You can try:
clang -flto=thin -O3 main.c foo.c -fuse-ld=lld
> I'm investigating/trying to address significant regressions in object size, executable size, dwp size, symbolizing performance Caused by this change in thinlto debug info.
After some thinking I lean towards reverting my change in IRMover. Most of imported variables will be const-folded by optimizer, so debug info will be a waste of disk space.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D55309/new/
https://reviews.llvm.org/D55309
More information about the llvm-commits
mailing list