(name, startAddr, endAddr, aslrSlide)
| 311 | } |
| 312 | |
| 313 | async processSharedLibrary(name, startAddr, endAddr, aslrSlide) { |
| 314 | const entry = this._profile.addLibrary(name, startAddr, endAddr); |
| 315 | entry.logEntry = new SharedLibLogEntry(entry); |
| 316 | // Many events rely on having a script around, creating fake entries for |
| 317 | // shared libraries. |
| 318 | this._profile.addScriptSource(-1, name, ''); |
| 319 | |
| 320 | if (this._cppEntriesProvider == undefined) { |
| 321 | await this._setupCppEntriesProvider(); |
| 322 | } |
| 323 | |
| 324 | await this._cppEntriesProvider.parseVmSymbols( |
| 325 | name, startAddr, endAddr, aslrSlide, (fName, fStart, fEnd) => { |
| 326 | const entry = this._profile.addStaticCode(fName, fStart, fEnd); |
| 327 | entry.logEntry = new CPPCodeLogEntry(entry); |
| 328 | }); |
| 329 | } |
| 330 | |
| 331 | async _setupCppEntriesProvider() { |
| 332 | // Probe the local symbol server for the platform: |
nothing calls this directly
no test coverage detected