Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/cddl/osnet/dist/tools/ctf/cvt add trivial handling ...
details: https://anonhg.NetBSD.org/src/rev/2b281cb0983b
branches: trunk
changeset: 358461:2b281cb0983b
user: christos <christos%NetBSD.org@localhost>
date: Sun Dec 31 03:08:49 2017 +0000
description:
add trivial handling for DW_ATE_UTF, does not work.
diffstat:
external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diffs (16 lines):
diff -r 43ad4f86932e -r 2b281cb0983b external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c
--- a/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c Sun Dec 31 03:04:44 2017 +0000
+++ b/external/cddl/osnet/dist/tools/ctf/cvt/dwarf.c Sun Dec 31 03:08:49 2017 +0000
@@ -1536,6 +1536,12 @@
intr->intr_signed = 1;
intr->intr_fformat = die_base_type2enc(dw, off, enc, sz);
break;
+ case DW_ATE_UTF:
+ // XXX: c++ char16_t/char32_t; we don't deal with it.
+ intr->intr_type = INTR_INT;
+ intr->intr_signed = 1;
+ intr->intr_iformat = 'v';
+ break;
default:
terminate("die %ju: unknown base type encoding 0x%jx\n",
(uintmax_t)off, (uintmax_t)enc);
Home |
Main Index |
Thread Index |
Old Index