[Lldb-commits] [lldb] [llvm] Revert "[gsymutil] Fix crash caused by infinite recursion in `unwrapReferencedTypedefType()`" (PR #197020)

Kewen Meng via lldb-commits lldb-commits at lists.llvm.org
Mon May 11 12:57:45 PDT 2026


Kewen12 wrote:

> Thanks.
> 
> **UPDATE:** NVM, AI think I need to add a dependency into the CMakeLists.txt.
> 
> -- old comment -- Though I'm not sure why it broke. The test ran correctly on my macOS machine:
> 
> ```
> royshi-mac-office ~/public_llvm/llvm-project % ~/public_llvm/build/unittests/DebugInfo/GSYM/DebugInfoGSYMTests
> 
> ...
> 
> [ RUN      ] GSYMTest.TestDWARFTypedefCycleDoesNotCrash
> warning: typedef cycle detected: DW_TAG_typedef at offset 0x41 references itself through DW_TAG_typedef chain
> 
> ...
> 
> [==========] 126 tests from 3 test suites ran. (66 ms total)
> [  PASSED  ] 126 tests.
> ```

If your fix is ready, I can close this revert and move with your fix.

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


More information about the lldb-commits mailing list