Changeset 211834 in webkit for trunk/Source/JavaScriptCore/tools/SigillCrashAnalyzer.cpp
- Timestamp:
- Feb 7, 2017, 1:22:20 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/tools/SigillCrashAnalyzer.cpp
r211828 r211834 272 272 log("BEGIN SIGILL analysis"); 273 273 274 [&] (){274 do { 275 275 // First, dump the signal context info so that we'll at least have the same info 276 276 // that the default crash handler would given us in case this crash analyzer … … 286 286 ASSERT(expectedLocker.error() == VMInspector::Error::TimedOut); 287 287 log("ERROR: Unable to analyze SIGILL. Timed out while waiting to iterate VMs."); 288 return;288 break; 289 289 } 290 290 auto& locker = expectedLocker.value(); … … 294 294 if (!isInJITMemory) { 295 295 log("ERROR: Timed out: not able to determine if pc %p is in valid JIT executable memory", pc); 296 return;296 break; 297 297 } 298 298 if (!isInJITMemory.value()) { 299 299 log("pc %p is NOT in valid JIT executable memory", pc); 300 300 crashSource = CrashSource::Other; 301 return;301 break; 302 302 } 303 303 log("pc %p is in valid JIT executable memory", pc); … … 308 308 if (pcAsSize != roundUpToMultipleOf<sizeof(uint32_t)>(pcAsSize)) { 309 309 log("pc %p is NOT properly aligned", pc); 310 return;310 break; 311 311 } 312 312 … … 323 323 else 324 324 log("The current thread does not own any VM JSLock"); 325 return;325 break; 326 326 } 327 327 CodeBlock* codeBlock = expectedCodeBlock.value(); 328 328 if (!codeBlock) { 329 329 log("machine PC %p does not belong to any CodeBlock in the currently entered VM", pc); 330 return;330 break; 331 331 } 332 332 … … 334 334 335 335 dumpCodeBlock(codeBlock, pc); 336 } ();336 } while (false); 337 337 338 338 log("END SIGILL analysis");
Note:
See TracChangeset
for help on using the changeset viewer.