codinuum / cca

Code Continuity Analysis Framework
https://codinuum.github.io/gallery-cca/
Apache License 2.0
20 stars 5 forks source link

[cpp] memory usage of deep pointer-to-pointer declaration #37

Closed petr-bauch closed 10 months ago

petr-bauch commented 10 months ago

The recursive processing of declaration like X****.. seems to use large amount of memory (>10GB).

For example this clang test: https://github.com/llvm/llvm-project/blob/main/clang/test/CodeGenCXX/mangle-extreme.cpp

codinuum commented 10 months ago

We have just pushed 790e490. It should parse the example with less memory footprint.

petr-bauch commented 10 months ago

Works nicely now.