[all-commits] [llvm/llvm-project] f7e172: [ItaniumDemangle][test] Factor demangler test-case...

Michael Buch via All-commits all-commits at lists.llvm.org
Fri May 30 11:57:12 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f7e172da4caeab9d92f6e97501b1a2c561e616c1
      https://github.com/llvm/llvm-project/commit/f7e172da4caeab9d92f6e97501b1a2c561e616c1
  Author: Michael Buch <michaelbuch12 at gmail.com>
  Date:   2025-05-30 (Fri, 30 May 2025)

  Changed paths:
    M libcxxabi/src/demangle/cp-to-llvm.sh
    A libcxxabi/test/DemangleTestCases.inc
    M libcxxabi/test/test_demangle.pass.cpp
    A llvm/include/llvm/Testing/Demangle/DemangleTestCases.inc
    A llvm/include/llvm/Testing/Demangle/README.txt

  Log Message:
  -----------
  [ItaniumDemangle][test] Factor demangler test-cases into file and sync into LLVM (#137947)

This patch turns the `libcxxabi/test/test_demangle.pass.cpp` into gtest
unit-tests in `llvm/unittests/Demangle`. The main motivation for this is
https://github.com/llvm/llvm-project/pull/137793, where we want to
re-use the test-cases from the ItaniumDemangler to test our OutputBuffer
implementation.

`libcxxabi/test/test_demangle.pass.cpp` now only tests the
`__cxa_demangle` API surface, not the underlying ItaniumDemangle
implementation.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list