[Lldb-commits] [lldb] [lldb][test] Test all libcxxabi demangler test-cases against TrackingOutputBuffer (PR #137793)
Michael Buch via lldb-commits
lldb-commits at lists.llvm.org
Wed Apr 30 01:51:46 PDT 2025
Michael137 wrote:
> For the way you're using these files (as a gtest unit test), I think it'd be best if the tests were in `llvm/include/llvm/Testing/Demangle`.
Let me try proposing moving the test and see what they say. Making changes to the demangler you have to run two sets of test-suites already anyway (`check-cxxabi` and `check-llvm-demangle`, and there's other demangling tests sprinkled around llvm). Just having to run one target would be nice.
> Just a note, that if you do decide to copy the tests, it may be better to just copy the inputs (mangled names) and then compare the "normal" demangled names with the ones you reconstructed. This avoids needing to update two places in case e.g. the demangler produces extra spaces somewhere.
Good point, will do!
https://github.com/llvm/llvm-project/pull/137793
More information about the lldb-commits
mailing list