Changeset 63201 in vbox for trunk/src/VBox/Runtime/common/dbg
- Timestamp:
- Aug 9, 2016 12:14:49 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/dbg/dbgmoddwarf.cpp
r62564 r63201 2463 2463 cOpIndexDelta, pLnState->Regs.idxOp)); 2464 2464 2465 rc = rtDwarfLine_AddLine(pLnState, offOpCode); 2465 /* 2466 * LLVM emits debug info for global constructors (_GLOBAL__I_a) which are not part of source 2467 * code but are inserted by the compiler: The resulting line number will be 0 2468 * because they are not part of the source file obviously (see https://review.llvm.org/rL205999), 2469 * so skip adding them when they are encountered. 2470 */ 2471 if (pLnState->Regs.uLine) 2472 rc = rtDwarfLine_AddLine(pLnState, offOpCode); 2466 2473 } 2467 2474 else … … 2474 2481 case DW_LNS_copy: 2475 2482 Log2(("%08x: DW_LNS_copy\n", offOpCode)); 2476 rc = rtDwarfLine_AddLine(pLnState, offOpCode); 2483 /* See the comment about LLVM above. */ 2484 if (pLnState->Regs.uLine) 2485 rc = rtDwarfLine_AddLine(pLnState, offOpCode); 2477 2486 break; 2478 2487
Note:
See TracChangeset
for help on using the changeset viewer.