diff options
| author | David Majnemer <david.majnemer@gmail.com> | 2013-08-21 06:13:34 +0000 | 
|---|---|---|
| committer | David Majnemer <david.majnemer@gmail.com> | 2013-08-21 06:13:34 +0000 | 
| commit | ed89b5c6e70733f86092496b469fe385b834d02f (patch) | |
| tree | 3c43a128c4717f85e4f6f46b15a6cf5f25ada23a /llvm/test | |
| parent | 77df9cdd0b4ecbed009217a3c7e9097cbf182b4e (diff) | |
| download | bcm5719-llvm-ed89b5c6e70733f86092496b469fe385b834d02f.tar.gz bcm5719-llvm-ed89b5c6e70733f86092496b469fe385b834d02f.zip | |
DebugInfo: Do not use the DWARF Version for the .debug_pubnames or .debug_pubtypes version field
Summary:
LLVM would generate DWARF with version 3 in the .debug_pubname and
.debug_pubtypes version fields.  This would lead SGI dwarfdump to fail
parsing the DWARF with (in the instance of .debug_pubnames) would exit
with:
dwarfdump ERROR:  dwarf_get_globals: DW_DLE_PUBNAMES_VERSION_ERROR (123)
This fixes PR16950.
Reviewers: echristo, dblaikie
Reviewed By: echristo
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D1454
llvm-svn: 188869
Diffstat (limited to 'llvm/test')
| -rw-r--r-- | llvm/test/DebugInfo/dwarf-public-names.ll | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/llvm/test/DebugInfo/dwarf-public-names.ll b/llvm/test/DebugInfo/dwarf-public-names.ll index fd074546dc3..d90eb19d8cd 100644 --- a/llvm/test/DebugInfo/dwarf-public-names.ll +++ b/llvm/test/DebugInfo/dwarf-public-names.ll @@ -37,6 +37,7 @@  ; Skip the output to the header of the pubnames section.  ; CHECK: debug_pubnames +; CHECK: Version:               2  ; Check for each name in the output.  ; CHECK: global_namespace_variable | 

