• Peter Marshall's avatar
    [cpu-profiler] Fix bugs and add tests for JITLineInfoTable · 4feb5ce7
    Peter Marshall authored
    Looking up line numbers with the JITLineInfoTable would sometimes give
    wrong answers. Fix these bugs and add a cctest for this data structure.
    
    Also do some cleanup while we're here like inlining the (empty)
    constructor and destructor and removing the empty() method which is
    only used unnecessarily anyway, to make the contract of
    GetSourceLineNumber a bit clearer.
    
    Also rename the data structure to SourcePositionTable, because it
    doesn't just provide info for JIT code, but also bytecode, and 'Info'
    is pretty ambiguous.
    
    Bug: v8:7018
    Change-Id: I126581c844d85df6b2b3f80f2f5acbce01c16ba1
    Reviewed-on: https://chromium-review.googlesource.com/1006795Reviewed-by: 's avatarYang Guo <yangguo@chromium.org>
    Commit-Queue: Peter Marshall <petermarshall@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#52571}
    4feb5ce7
Name
Last commit
Last update
..
benchmarks Loading commit data...
cctest Loading commit data...
common Loading commit data...
debugger Loading commit data...
fuzzer Loading commit data...
inspector Loading commit data...
intl Loading commit data...
js-perf-test Loading commit data...
memory Loading commit data...
message Loading commit data...
mjsunit Loading commit data...
mkgrokdump Loading commit data...
mozilla Loading commit data...
preparser Loading commit data...
test262 Loading commit data...
unittests Loading commit data...
wasm-spec-tests Loading commit data...
webkit Loading commit data...
BUILD.gn Loading commit data...