Commit 38f04d4d authored by killagu's avatar killagu Committed by Matheus Marchini
Browse files

tools, test: fix prof polyfill readline

`node --prof foo.js` may not print the full profile log file, leaving
the last line broken (for example `tick,`. When that happens, `readline`
will be stuck in an infinite loop. This patch fixes it.

Also introduced `common.isCPPSymbolsNotMapped` to avoid duplicated code
on tick-processor tests.

PR-URL: https://github.com/nodejs/node/pull/18641


Reviewed-By: default avatarKhaidi Chu <i@2333.moe>
Reviewed-By: default avatarMatheus Marchini <matheus@sthima.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent 513d9397
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment