Skip to content

Conversation

@Araq
Copy link
Member

@Araq Araq commented Nov 7, 2025

No description provided.

demotomohiro and others added 30 commits November 6, 2025 04:50
…angling (#25264)

fixes #25263

- [x] documentation and changelogs
This PR, courtesy of @NagyZoltanPeter
(waku-org/nwaku#3522) adds the ability to track
memory allocations in a program suitable for use with
[heaptrack](https://github.com/KDE/heaptrack).

By passing `-d:heaptrack --debugger:native` to compilation, calls to
heaptrack will be injected when memory is being allocated and released -
unlike `-d:useMalloc` this strategy also works with `refc` and the
default memory pool.

See https://github.com/KDE/heaptrack for usage examples. The resulting
binary needs to be run with `heaptrack` and with the shared
`libheaptrack_preload.so` in the `LD_LIBRARY_PATH`.
…e temporary destruction (#25255)

fixes #25251

enforce a copy if the arg is a deref of a lent pointer since the arg
could be a temporary that will go out of scope
@Araq Araq closed this Nov 9, 2025
@Araq Araq deleted the demotomohiro-add-ast2nif2 branch November 9, 2025 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants