search for: d51393

Displaying 2 results from an estimated 2 matches for "d51393".

2018 Aug 29
3
[cfe-dev] Identifying objects within BumpPtrAllocator.
...oved 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/D51393> > > I would really love to see this in the static analyzer, but I think all other dumping facilities could greatly benefit as well. > >> On Aug 28, 2018, at 5:14 PM, Artem Dergachev via cfe-dev <cfe-dev at lists.llvm.org <mailto:cfe-dev...
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