aboutsummaryrefslogtreecommitdiff
path: root/libiberty/ChangeLog
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2017-06-25 11:39:34 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2017-06-25 11:39:34 +0200
commitd7e2ebe7e73105766a854f4f0e3a5c509fd0e82a (patch)
tree470a376c65aae67df2a4af77d0f013b40ffd8bb6 /libiberty/ChangeLog
parent2d3392bd42e16b5c8894c357f250dbde245e96fe (diff)
downloadgdb-d7e2ebe7e73105766a854f4f0e3a5c509fd0e82a.zip
gdb-d7e2ebe7e73105766a854f4f0e3a5c509fd0e82a.tar.gz
gdb-d7e2ebe7e73105766a854f4f0e3a5c509fd0e82a.tar.bz2
Sync libiberty with upstream GCC.
libiberty/ChangeLog: * d-demangle.c (dlang_identifier): Prefix mangled init symbols with `initializer for'. * testsuite/demangle-expected: Update tests. * d-demangle.c (dlang_call_convention_p): Move declaration before dlang_type. (dlang_type): Handle function types. * testsuite/d-demangle-expected: Add tests. * d-demangle.c (dlang_parse_real): Remove stack buffer, write the demangled hexadecimal directly to string. * testsuite/d-demangle-expected: Add tests. * d-demangle.c (dlang_hexdigit): New function. (ascii2hex): Remove function. (dlang_parse_string): Update to call dlang_hexdigit. * testsuite/d-demangle-expected: Add tests. * d-demangle.c (strtol): Remove declaration. Updated all callers to use dlang_number. (dlang_number): New function. (dlang_value): Moved check for ISDIGIT into dlang_parse_integer. * testsuite/d-demangle-expected: Add tests. * d-demangle.c (dlang_parse_symbol): Remove function. (dlang_parse_qualified): New function. (dlang_parse_mangle): New function. (dlang_type): Update to call dlang_parse_qualified. (dlang_identifier): Update to call either dlang_parse_qualified or dlang_parse_mangle. (dlang_type_modifier_p): Remove function. (dlang_call_convention_p): Don't allow type modifiers in mangle. (dlang_template_args): Update to call dlang_identifier. (dlang_demangle): Update to call dlang_parse_mangle. * testsuite/d-demangle-expected: Add tests. * d-demangle.c (dlang_value): Add comment explaining why cases for digits are required. * testsuite/d-demangle-expected: Update integer value tests. * d-demangle.c (dlang_parse_symbol): Skip over anonymous symbols. * testsuite/d-demangle-expected: Add tests. * d-demangle.c (dlang_identifier): Handle template constraint symbols. (dlang_parse_template): Only advance if template symbol prefix is followed by a digit. * testsuite/d-demangle-expected: Add tests. * d-demangle.c (dlang_attributes): Handle scope attributes. * testsuite/d-demangle-expected: Add tests.
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r--libiberty/ChangeLog71
1 files changed, 71 insertions, 0 deletions
diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog
index 84be727..b3087fa 100644
--- a/libiberty/ChangeLog
+++ b/libiberty/ChangeLog
@@ -9,6 +9,77 @@
* waitpid.c (wait) [__MINGW32__]: Define as a macro
that calls _cwait, so that this function works on MinGW.
+2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_identifier): Prefix mangled init symbols
+ with `initializer for'.
+ * testsuite/demangle-expected: Update tests.
+
+2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_call_convention_p): Move declaration
+ before dlang_type.
+ (dlang_type): Handle function types.
+ * testsuite/d-demangle-expected: Add tests.
+
+2017-05-27 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_parse_real): Remove stack buffer, write
+ the demangled hexadecimal directly to string.
+ * testsuite/d-demangle-expected: Add tests.
+
+2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_hexdigit): New function.
+ (ascii2hex): Remove function.
+ (dlang_parse_string): Update to call dlang_hexdigit.
+ * testsuite/d-demangle-expected: Add tests.
+
+2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (strtol): Remove declaration.
+ Updated all callers to use dlang_number.
+ (dlang_number): New function.
+ (dlang_value): Moved check for ISDIGIT into dlang_parse_integer.
+ * testsuite/d-demangle-expected: Add tests.
+
+2017-05-02 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_parse_symbol): Remove function.
+ (dlang_parse_qualified): New function.
+ (dlang_parse_mangle): New function.
+ (dlang_type): Update to call dlang_parse_qualified.
+ (dlang_identifier): Update to call either dlang_parse_qualified or
+ dlang_parse_mangle.
+ (dlang_type_modifier_p): Remove function.
+ (dlang_call_convention_p): Don't allow type modifiers in mangle.
+ (dlang_template_args): Update to call dlang_identifier.
+ (dlang_demangle): Update to call dlang_parse_mangle.
+ * testsuite/d-demangle-expected: Add tests.
+
+2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_value): Add comment explaining why cases for
+ digits are required.
+ * testsuite/d-demangle-expected: Update integer value tests.
+
+2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_parse_symbol): Skip over anonymous symbols.
+ * testsuite/d-demangle-expected: Add tests.
+
+2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_identifier): Handle template constraint symbols.
+ (dlang_parse_template): Only advance if template symbol prefix is
+ followed by a digit.
+ * testsuite/d-demangle-expected: Add tests.
+
+2017-05-01 Iain Buclaw <ibuclaw@gdcproject.org>
+
+ * d-demangle.c (dlang_attributes): Handle scope attributes.
+ * testsuite/d-demangle-expected: Add tests.
+
2017-04-27 Jonathan Wakely <jwakely@redhat.com>
PR demangler/80513