[DWARF] Enable DW_CFA_VAL_EXPRESSION support
authorJiong Wang <jiong.wang@arm.com>
Thu, 3 Nov 2016 17:32:03 +0000 (17:32 +0000)
committerJiong Wang <jiwang@gcc.gnu.org>
Thu, 3 Nov 2016 17:32:03 +0000 (17:32 +0000)
commitac5b3efff29c2b0bf056adbb1e075927692653da
tree7359844c4ff9a95d3137e3267597a68eb1d23f28
parent122e3608b6d4d31ebd68f12d55b44319d54486f9
[DWARF] Enable DW_CFA_VAL_EXPRESSION support

gcc/
* reg-notes.def (CFA_VAL_EXPRESSION): New entry.
* dwarf2cfi.c (dwarf2out_frame_debug_cfa_val_expression): New function.
(dwarf2out_frame_debug): Support REG_CFA_VAL_EXPRESSION.
(output_cfa_loc): Support DW_CFA_val_expression.
(output_cfa_loc_raw): Likewise.
(output_cfi): Likewise.
(output_cfi_directive): Likewise.
* dwarf2out.c (dw_cfi_oprnd1_desc): Support DW_CFA_val_expression.
(dw_cfi_oprnd2_desc): Likewise.
(mem_loc_descriptor): Recognize new pattern generated for value
expression.

From-SVN: r241826
gcc/ChangeLog
gcc/dwarf2cfi.c
gcc/dwarf2out.c
gcc/reg-notes.def