diff options
author | David Blaikie <dblaikie@gmail.com> | 2014-03-18 01:17:26 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2014-03-18 01:17:26 +0000 |
commit | 4a2f95f60ee386dc87d29d5f763fa4fb046550ff (patch) | |
tree | 4dc2f624e58e405c9fb6e133613d6d1ee8000a27 /llvm/lib/CodeGen/GCMetadataPrinter.cpp | |
parent | cf9e671f5c909334ae5f6e0402e33162282c82fd (diff) | |
download | bcm5719-llvm-4a2f95f60ee386dc87d29d5f763fa4fb046550ff.tar.gz bcm5719-llvm-4a2f95f60ee386dc87d29d5f763fa4fb046550ff.zip |
DebugInfo: Implement debug_line.dwo for file names used in type units during -gsplit-dwarf
This removes an attribute (and more importantly, a relocation) from
skeleton type units and removes some unnecessary file names from the
debug_line section that remains in the .o (and linked executable) file.
There's still a few places we could shave off some more space here:
* use compilation dir of the underlying compilation unit (since all the
type units share that compilation dir - though this would be more
complicated in LTO cases where they don't (keep a map of compilation
dir->line table header?))
* Remove some of the unnecessary header fields from the line table since
they're not needed in this situation (about 12 bytes per table).
llvm-svn: 204099
Diffstat (limited to 'llvm/lib/CodeGen/GCMetadataPrinter.cpp')
0 files changed, 0 insertions, 0 deletions