mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-17 04:24:00 +00:00
Right now DBG_LABEL are required for llvm.dbg.region_start and llvm.dbg.region_end in non-fast mode also.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68559 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -3926,9 +3926,8 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
|||||||
if (DW && DW->ValidDebugInfo(RSI.getContext())) {
|
if (DW && DW->ValidDebugInfo(RSI.getContext())) {
|
||||||
unsigned LabelID =
|
unsigned LabelID =
|
||||||
DW->RecordRegionStart(cast<GlobalVariable>(RSI.getContext()));
|
DW->RecordRegionStart(cast<GlobalVariable>(RSI.getContext()));
|
||||||
if (Fast)
|
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
||||||
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
getRoot(), LabelID));
|
||||||
getRoot(), LabelID));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
@ -3939,9 +3938,8 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
|||||||
if (DW && DW->ValidDebugInfo(REI.getContext())) {
|
if (DW && DW->ValidDebugInfo(REI.getContext())) {
|
||||||
unsigned LabelID =
|
unsigned LabelID =
|
||||||
DW->RecordRegionEnd(cast<GlobalVariable>(REI.getContext()));
|
DW->RecordRegionEnd(cast<GlobalVariable>(REI.getContext()));
|
||||||
if (Fast)
|
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
||||||
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
getRoot(), LabelID));
|
||||||
getRoot(), LabelID));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user