diff options
author | Greg Clayton <gclayton@apple.com> | 2012-12-08 00:24:40 +0000 |
---|---|---|
committer | Greg Clayton <gclayton@apple.com> | 2012-12-08 00:24:40 +0000 |
commit | 7141554858d2d857aab0ac15474a5a631efe526c (patch) | |
tree | f85370aafcb30a0ffbfcea0fe6e067efa9410835 /lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp | |
parent | 65a6ee11dd4ccde80bf49e19bb7129b9a08296b9 (diff) | |
download | bcm5719-llvm-7141554858d2d857aab0ac15474a5a631efe526c.tar.gz bcm5719-llvm-7141554858d2d857aab0ac15474a5a631efe526c.zip |
Make sure to check for DW_AT_linkage_name to get the mangled name in the DWARF along with the older DW_AT_MIPS_linkage_name attribute.
llvm-svn: 169657
Diffstat (limited to 'lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp')
-rw-r--r-- | lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp b/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp index 244b69d250a..9f594d45e8f 100644 --- a/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp +++ b/lldb/source/Plugins/SymbolFile/DWARF/DWARFCompileUnit.cpp @@ -657,6 +657,7 @@ DWARFCompileUnit::Index (const uint32_t cu_idx, // break; case DW_AT_MIPS_linkage_name: + case DW_AT_linkage_name: if (attributes.ExtractFormValueAtIndex(m_dwarf2Data, i, form_value)) mangled_cstr = form_value.AsCString(debug_str); break; |