This is an automated email from the git hooks/post-receive script.
unknown user pushed a change to branch master in repository binutils-gdb.
from c4a614e239 Regenerate some files new 41260ac25d Update ax_cv_cxx_compile_cxx.m4 new 7adcdf08e7 Copy string_view files from libstdc++ new 8345c4a267 Add gdb::string_view new fdc116781b Copy string_view tests from libstdc++ new c9638d2669 Adapt and integrate string_view tests
The 5 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference.
Summary of changes: gdb/ChangeLog | 143 ++++++ gdb/Makefile.in | 1 + gdb/ax_cxx_compile_stdcxx.m4 | 458 ++++++++++++++++- gdb/cli/cli-script.c | 17 +- gdb/common/gdb_string_view.h | 560 +++++++++++++++++++++ gdb/common/gdb_string_view.tcc | 219 ++++++++ gdb/configure | 28 +- gdb/unittests/basic_string_view/capacity/1.cc | 172 +++++++ .../basic_string_view/capacity/empty_neg.cc | 28 ++ gdb/unittests/basic_string_view/cons/char/1.cc | 67 +++ gdb/unittests/basic_string_view/cons/char/2.cc | 46 ++ gdb/unittests/basic_string_view/cons/char/3.cc | 39 ++ gdb/unittests/basic_string_view/cons/wchar_t/1.cc | 68 +++ gdb/unittests/basic_string_view/cons/wchar_t/2.cc | 45 ++ gdb/unittests/basic_string_view/cons/wchar_t/3.cc | 38 ++ .../basic_string_view/element_access/char/1.cc | 70 +++ .../basic_string_view/element_access/char/2.cc | 30 ++ .../basic_string_view/element_access/char/empty.cc | 39 ++ .../element_access/char/front_back.cc | 43 ++ .../basic_string_view/element_access/wchar_t/1.cc | 71 +++ .../basic_string_view/element_access/wchar_t/2.cc | 32 ++ .../element_access/wchar_t/empty.cc | 38 ++ .../element_access/wchar_t/front_back.cc | 42 ++ gdb/unittests/basic_string_view/include.cc | 25 + .../basic_string_view/inserters/char/1.cc | 65 +++ .../basic_string_view/inserters/char/2.cc | 91 ++++ .../basic_string_view/inserters/char/3.cc | 54 ++ .../basic_string_view/inserters/pod/10081-out.cc | 75 +++ .../basic_string_view/inserters/wchar_t/1.cc | 70 +++ .../basic_string_view/inserters/wchar_t/2.cc | 91 ++++ .../basic_string_view/inserters/wchar_t/3.cc | 53 ++ gdb/unittests/basic_string_view/literals/types.cc | 45 ++ gdb/unittests/basic_string_view/literals/values.cc | 72 +++ .../modifiers/remove_prefix/char/1.cc | 66 +++ .../modifiers/remove_prefix/wchar_t/1.cc | 61 +++ .../modifiers/remove_suffix/char/1.cc | 66 +++ .../modifiers/remove_suffix/wchar_t/1.cc | 61 +++ .../basic_string_view/modifiers/swap/char/1.cc | 36 ++ .../basic_string_view/modifiers/swap/wchar_t/1.cc | 35 ++ .../basic_string_view/operations/compare/char/1.cc | 132 +++++ .../operations/compare/char/13650.cc | 50 ++ .../basic_string_view/operations/compare/char/2.cc | 30 ++ .../operations/compare/char/70483.cc | 89 ++++ .../operations/compare/wchar_t/1.cc | 133 +++++ .../operations/compare/wchar_t/13650.cc | 49 ++ .../operations/compare/wchar_t/2.cc | 30 ++ .../basic_string_view/operations/copy/char/1.cc | 46 ++ .../basic_string_view/operations/copy/wchar_t/1.cc | 46 ++ .../basic_string_view/operations/data/char/1.cc | 44 ++ .../basic_string_view/operations/data/wchar_t/1.cc | 43 ++ .../basic_string_view/operations/find/char/1.cc | 168 +++++++ .../basic_string_view/operations/find/char/2.cc | 166 ++++++ .../basic_string_view/operations/find/char/3.cc | 166 ++++++ .../basic_string_view/operations/find/char/4.cc | 45 ++ .../basic_string_view/operations/find/wchar_t/1.cc | 163 ++++++ .../basic_string_view/operations/find/wchar_t/2.cc | 161 ++++++ .../basic_string_view/operations/find/wchar_t/3.cc | 161 ++++++ .../basic_string_view/operations/find/wchar_t/4.cc | 44 ++ .../basic_string_view/operations/rfind/char/1.cc | 95 ++++ .../basic_string_view/operations/rfind/char/2.cc | 53 ++ .../basic_string_view/operations/rfind/char/3.cc | 67 +++ .../operations/rfind/wchar_t/1.cc | 94 ++++ .../operations/rfind/wchar_t/2.cc | 52 ++ .../operations/rfind/wchar_t/3.cc | 66 +++ .../operations/string_conversion/1.cc | 51 ++ .../basic_string_view/operations/substr/char/1.cc | 79 +++ .../operations/substr/wchar_t/1.cc | 79 +++ .../basic_string_view/operators/char/2.cc | 373 ++++++++++++++ .../basic_string_view/operators/wchar_t/2.cc | 367 ++++++++++++++ .../basic_string_view/range_access/char/1.cc | 47 ++ .../basic_string_view/range_access/wchar_t/1.cc | 47 ++ .../requirements/explicit_instantiation/1.cc | 26 + .../requirements/explicit_instantiation/char/1.cc | 23 + .../explicit_instantiation/char16_t/1.cc | 24 + .../explicit_instantiation/char32_t/1.cc | 24 + .../explicit_instantiation/wchar_t/1.cc | 23 + .../basic_string_view/requirements/typedefs.cc | 47 ++ gdb/unittests/basic_string_view/typedefs.cc | 36 ++ gdb/unittests/basic_string_view/types/1.cc | 43 ++ gdb/unittests/string_view-selftests.c | 177 +++++++ 80 files changed, 6874 insertions(+), 45 deletions(-) create mode 100644 gdb/common/gdb_string_view.h create mode 100644 gdb/common/gdb_string_view.tcc create mode 100644 gdb/unittests/basic_string_view/capacity/1.cc create mode 100644 gdb/unittests/basic_string_view/capacity/empty_neg.cc create mode 100644 gdb/unittests/basic_string_view/cons/char/1.cc create mode 100644 gdb/unittests/basic_string_view/cons/char/2.cc create mode 100644 gdb/unittests/basic_string_view/cons/char/3.cc create mode 100644 gdb/unittests/basic_string_view/cons/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/cons/wchar_t/2.cc create mode 100644 gdb/unittests/basic_string_view/cons/wchar_t/3.cc create mode 100644 gdb/unittests/basic_string_view/element_access/char/1.cc create mode 100644 gdb/unittests/basic_string_view/element_access/char/2.cc create mode 100644 gdb/unittests/basic_string_view/element_access/char/empty.cc create mode 100644 gdb/unittests/basic_string_view/element_access/char/front_back.cc create mode 100644 gdb/unittests/basic_string_view/element_access/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/element_access/wchar_t/2.cc create mode 100644 gdb/unittests/basic_string_view/element_access/wchar_t/empty.cc create mode 100644 gdb/unittests/basic_string_view/element_access/wchar_t/front_back.cc create mode 100644 gdb/unittests/basic_string_view/include.cc create mode 100644 gdb/unittests/basic_string_view/inserters/char/1.cc create mode 100644 gdb/unittests/basic_string_view/inserters/char/2.cc create mode 100644 gdb/unittests/basic_string_view/inserters/char/3.cc create mode 100644 gdb/unittests/basic_string_view/inserters/pod/10081-out.cc create mode 100644 gdb/unittests/basic_string_view/inserters/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/inserters/wchar_t/2.cc create mode 100644 gdb/unittests/basic_string_view/inserters/wchar_t/3.cc create mode 100644 gdb/unittests/basic_string_view/literals/types.cc create mode 100644 gdb/unittests/basic_string_view/literals/values.cc create mode 100644 gdb/unittests/basic_string_view/modifiers/remove_prefix/char/1.cc create mode 100644 gdb/unittests/basic_string_view/modifiers/remove_prefix/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/modifiers/remove_suffix/char/1.cc create mode 100644 gdb/unittests/basic_string_view/modifiers/remove_suffix/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/modifiers/swap/char/1.cc create mode 100644 gdb/unittests/basic_string_view/modifiers/swap/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/compare/char/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/compare/char/13650.cc create mode 100644 gdb/unittests/basic_string_view/operations/compare/char/2.cc create mode 100644 gdb/unittests/basic_string_view/operations/compare/char/70483.cc create mode 100644 gdb/unittests/basic_string_view/operations/compare/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/compare/wchar_t/13650.cc create mode 100644 gdb/unittests/basic_string_view/operations/compare/wchar_t/2.cc create mode 100644 gdb/unittests/basic_string_view/operations/copy/char/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/copy/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/data/char/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/data/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/char/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/char/2.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/char/3.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/char/4.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/wchar_t/2.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/wchar_t/3.cc create mode 100644 gdb/unittests/basic_string_view/operations/find/wchar_t/4.cc create mode 100644 gdb/unittests/basic_string_view/operations/rfind/char/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/rfind/char/2.cc create mode 100644 gdb/unittests/basic_string_view/operations/rfind/char/3.cc create mode 100644 gdb/unittests/basic_string_view/operations/rfind/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/rfind/wchar_t/2.cc create mode 100644 gdb/unittests/basic_string_view/operations/rfind/wchar_t/3.cc create mode 100644 gdb/unittests/basic_string_view/operations/string_conversion/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/substr/char/1.cc create mode 100644 gdb/unittests/basic_string_view/operations/substr/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/operators/char/2.cc create mode 100644 gdb/unittests/basic_string_view/operators/wchar_t/2.cc create mode 100644 gdb/unittests/basic_string_view/range_access/char/1.cc create mode 100644 gdb/unittests/basic_string_view/range_access/wchar_t/1.cc create mode 100644 gdb/unittests/basic_string_view/requirements/explicit_instantia [...] create mode 100644 gdb/unittests/basic_string_view/requirements/explicit_instantia [...] create mode 100644 gdb/unittests/basic_string_view/requirements/explicit_instantia [...] create mode 100644 gdb/unittests/basic_string_view/requirements/explicit_instantia [...] create mode 100644 gdb/unittests/basic_string_view/requirements/explicit_instantia [...] create mode 100644 gdb/unittests/basic_string_view/requirements/typedefs.cc create mode 100644 gdb/unittests/basic_string_view/typedefs.cc create mode 100644 gdb/unittests/basic_string_view/types/1.cc create mode 100644 gdb/unittests/string_view-selftests.c