diff options
author | David Srbecky <dsrbecky@gmail.com> | 2015-07-08 14:00:04 +0000 |
---|---|---|
committer | David Srbecky <dsrbecky@gmail.com> | 2015-07-08 14:00:04 +0000 |
commit | d515e94070e0a8634a354c063e88dd75aac24fcc (patch) | |
tree | c2f36346e730b2323f9195af01f1614dc39370aa /llvm/lib/Object/ArchiveWriter.cpp | |
parent | 26a4a40137dc8cc5c9855c76994ee39a58dc19bd (diff) | |
download | llvm-d515e94070e0a8634a354c063e88dd75aac24fcc.zip llvm-d515e94070e0a8634a354c063e88dd75aac24fcc.tar.gz llvm-d515e94070e0a8634a354c063e88dd75aac24fcc.tar.bz2 |
Tolerate DWARF compile unit without filename.
Summary:
The DW_AT_name attribute of compile unit is optional.
If it is missing, try to get filename from the debug_line section.
This allows the compile unit to be useful without the filename.
Differential Revision: http://reviews.llvm.org/D11003
llvm-svn: 241679
Diffstat (limited to 'llvm/lib/Object/ArchiveWriter.cpp')
0 files changed, 0 insertions, 0 deletions