diff options
author | David Blaikie <dblaikie@gmail.com> | 2015-10-07 00:04:16 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2015-10-07 00:04:16 +0000 |
commit | c9ad9191a7bcd98418c0e18f1df0d5ffba7496f4 (patch) | |
tree | 1c22d5361ce44de8e7b573496f81900b9d2512ea /lld/ELF/LinkerScript.cpp | |
parent | 6c85598c5a6e7aa121ca5b4855713b188ebc8c1d (diff) | |
download | bcm5719-llvm-c9ad9191a7bcd98418c0e18f1df0d5ffba7496f4.tar.gz bcm5719-llvm-c9ad9191a7bcd98418c0e18f1df0d5ffba7496f4.zip |
DebugInfo: Include the decl_line/decl_file in subprogram definitions if they differ from those in the declaration
This is handy for some AutoFDO stuff, and seems like a minor improvement
to correctness (otherwise a debug info consumer might think the decl
line/file of the def was the same as that of the declaration - though
what a consumer might use that for, I'm not sure - maybe "list <func>"
would've misbehaved with the old behavior?) and at a minor cost (in my
experiment, with fission, without type units, without compression, 0.01%
growth in debug info in the executable/objects, 0.02% growth in the .dwo
files).
llvm-svn: 249487
Diffstat (limited to 'lld/ELF/LinkerScript.cpp')
0 files changed, 0 insertions, 0 deletions