[libcxx-commits] [libcxxabi] [llvm] [ItaniumDemangle][test] Turn ItaniumDemangle tests into LLVM unit-tests (PR #137947)

Michael Buch via libcxx-commits libcxx-commits at lists.llvm.org
Thu May 1 04:51:46 PDT 2025


Michael137 wrote:

Weirdly on the Windows PR CI I'm getting:
```
C:\ws\src\llvm\unittests\Demangle\ItaniumDemangleTest.cpp:291
Value of: expected
Expected: contains at least one element that is equal to "void test0::g<float>(char (&) [sizeof ((float)() + 0x1.4000000000000p+2f)])"
  Actual: { "void test0::g<float>(char (&) [sizeof ((float)() + 0x1.4p+2f)])", "void test0::g<float>(char (&) [sizeof ((float)() + 0x2.8p+1f)])", "void test0::g<float>(char (&) [sizeof ((float)() + 0x5p+0f)])", "void test0::g<float>(char (&) [sizeof ((float)() + 0xap-1f)])" }
```

And on Linux:
```
/var/lib/buildkite-agent/builds/linux-56-59b8f5d88-qrmz7-1/llvm-project/github-pull-requests/llvm/unittests/Demangle/ItaniumDemangleTest.cpp:224
Expected equality of these values:
  nullptr
    Which is: NULL
  Root
    Which is: 0x59ea97f46ba0
Unexpectedly succeeded demangling: _ZN5test01hIfEEvRAcvjplstT_Le4001a000000000000000E_c
```

Not sure what's special about these bot configurations and why the libcxx bots weren't failing with these. @mstorsjo any ideas? I see you ran into something similar in https://github.com/llvm/llvm-project/pull/134976

https://github.com/llvm/llvm-project/pull/137947


More information about the libcxx-commits mailing list