aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
diff options
context:
space:
mode:
authorFrederic Riss <friss@apple.com>2015-09-11 04:17:30 +0000
committerFrederic Riss <friss@apple.com>2015-09-11 04:17:30 +0000
commit29eedc76e16601679794faf105ae8f835d3b9597 (patch)
treec018ef9c08f46abede60222a1e100e0b8bb3c885 /lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp
parent36c3cb876bd261cbcbc33007906903c90d11d7ce (diff)
downloadllvm-29eedc76e16601679794faf105ae8f835d3b9597.zip
llvm-29eedc76e16601679794faf105ae8f835d3b9597.tar.gz
llvm-29eedc76e16601679794faf105ae8f835d3b9597.tar.bz2
[dsymutil] Discard useless location attributes.
When cloning the debug info for a function that hasn't been linked, strip the DIEs from all location attributes that wouldn't contain any meaningful information anyway. This kind of situation can happen when a function got discarded by the linker, but its debug information is still wanted in the final link because it was marked as required as some other DIE dependency. The easiest way to get into that situation is to have using directives. They get linked unconditionally, but their targets might not always be present. llvm-svn: 247386
Diffstat (limited to 'lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp')
0 files changed, 0 insertions, 0 deletions