Displaying 2 results from an estimated 2 matches for "persistentid".
Did you mean:
persistent
2018 Aug 29
3
[cfe-dev] Identifying objects within BumpPtrAllocator.
This is a great idea!
I personally also wouldn't mind going further in debug builds and actually create and store sequential IDs with the objects and take the small memory hit for improved debuggability. The `PersistentId` field in SelectionDAG works that way and has helped make the output more readable IMO.
- Matthias
> On Aug 28, 2018, at 5:22 PM, George Karpenkov via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> Patch available at https://reviews.llvm.org/D51393 <https://reviews.llvm.org/D...
2018 Aug 29
4
Identifying objects within BumpPtrAllocator.
In various debug dumps (eg., Clang's -ast-dump), various objects (eg.,
Stmts and Decls in that -ast-dump) are identified by pointers. It's very
reliable in the sense that no two objects would ever have the same
pointer at the same time, but it's unpleasant that pointers change
across runs. Having deterministic identifiers instead of pointers would
aid debugging: imagine a