[2/9] Encoding support for AArch64 DWARF operations

Jiong Wang jiong.wang@foss.arm.com
Fri Nov 11 18:33:00 GMT 2016


The encoding for new added AARCH64 DWARF operations.

I am thinking DWARF specification actually allows vendor private operations
overlap with each other as one can't co-exist with the other.  So in theory we
should introduce target hook to handle target private operations.

But in GCC/binutils/LLVM scope, I only see one overlap between
DW_OP_GNU_push_tls_address and and DW_OP_HP_unknown, and DW_OP_HP_unknown seems
not used.

So I added the support in GCC generic code directly instead of introducing
target hook.

Is this OK to install?


gcc/
2016-11-11  Jiong Wang<jiong.wang@arm.com>

         * dwarf2out.c (size_of_loc_descr): Increase set for
         DW_OP_AARCH64_pauth and DW_OP_AARCH64_paciasp_deref.
         (output_loc_operands): Generate encoding for DW_OP_AARCH64_pauth
         and DW_OP_AARCH64_paciasp_deref.
         (output_loc_operands_raw): Likewise.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2.patch
Type: text/x-patch
Size: 1465 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20161111/01d29823/attachment.bin>


More information about the Gcc-patches mailing list