cppgc: Canonicalize type names properly for heap dumps
GCInfoIndex cannot be used for a canonicalization of type names. Example by omerkatz: struct A : public GCed<A>, public NameProvider { override const char* GetHumanReadableName() { return "A"; } }; struct B : public A { override const char* GetHumanReadableName() { return "B"; } }; A and B will have the same GCInfoIndex but different type names. Bug: chromium:1056170 Change-Id: I35b76a0d80498b8c39e3788f6c2556cdb29f3a7b Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3013311 Commit-Queue: Michael Lippautz <mlippautz@chromium.org> Reviewed-by: Omer Katz <omerkatz@chromium.org> Cr-Commit-Position: refs/heads/master@{#75649}
Showing
Please
register
or
sign in
to comment