Change information
Commit message:
[profiler] Add start and end position for SharedFunctionInfos
This enables us to check which function in the script that
SharedFunctionInfo corresponds to.
Since start and end position are simple integers, this CL also adds
a new method AddIntEdge. This method we can also use to emit integer
fields for objects in future CLs.
Bug: 497855658
Change-Id: Idc3ced4deaa10400a71cf4c634b394e818228576
Cr-Commit-Position: refs/heads/main@{#106173}
Files:
- M src/profiler/heap-snapshot-generator.cc
- M src/profiler/heap-snapshot-generator.h
- M test/unittests/BUILD.gn
- M test/unittests/heap/cppgc-js/unified-heap-snapshot-unittest.cc
- M test/unittests/profiler/heap-snapshot-unittest.cc
- A test/unittests/profiler/heap-snapshot-utils.cc
- A test/unittests/profiler/heap-snapshot-utils.h
Change size: M
Delta: 7 files changed, 150 insertions(+), 28 deletions(-)
Branch: refs/heads/main
Submit Requirements:
Code-Review: +1 by Michael Lippautz