summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-10-16 10:26:17 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-10-16 10:26:17 +0000
commit68b285f69efce9d3669f0bf6c9fe0e89bd265e30 (patch)
treed6c6ae2a334abee57029dcb5ea1425db3e9fe32c /llvm/lib
parent414151a47e5ecdf7d890529f242209d15d53e1ce (diff)
downloadbcm5719-llvm-68b285f69efce9d3669f0bf6c9fe0e89bd265e30.tar.gz
bcm5719-llvm-68b285f69efce9d3669f0bf6c9fe0e89bd265e30.zip
[llvm-dwarfdump] - Teach tool to parse DW_CFA_GNU_args_size.
Currently llvm-dwarfdump runs into llvm_unreachable when faces DW_CFA_GNU_args_size. Patch implements the support. Differential revision: https://reviews.llvm.org/D38879 llvm-svn: 315897
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
index bceb0162b35..3312da67804 100644
--- a/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
+++ b/llvm/lib/DebugInfo/DWARF/DWARFDebugFrame.cpp
@@ -163,6 +163,7 @@ void FrameEntry::parseInstructions(DataExtractor Data, uint32_t *Offset,
case DW_CFA_same_value:
case DW_CFA_def_cfa_register:
case DW_CFA_def_cfa_offset:
+ case DW_CFA_GNU_args_size:
// Operands: ULEB128
addInstruction(Opcode, Data.getULEB128(Offset));
break;
OpenPOWER on IntegriCloud