-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surelog (library) leaks memory. #3661
Comments
Antlr is responsible for most of the leaks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Surelog, at least when used as a library, has significant memory leaks.
First discovered in systemverilog-plugin, but later verified with basic Surelog examples (e.g.
hellouhdm
).Brief look at logs tells that leaking memory is being allocated in both Surelog and UHDM.
Build
(
-DCMAKE_CXX_FLAGS="-gdwarf-4"
is for Valgrind compatibility when compiling with Clang 15+)Run
Result:
Second run, with already generated preprocessing data (
slpp_all
):The text was updated successfully, but these errors were encountered: