forked from OSchip/llvm-project
parent
19e0a5b3c3
commit
df78dcc0b2
|
@ -3953,9 +3953,7 @@ SelectionDAGLowering::visitIntrinsicCall(CallInst &I, unsigned Intrinsic) {
|
||||||
// create a label if this is a beginning of inlined function.
|
// create a label if this is a beginning of inlined function.
|
||||||
unsigned Line = Subprogram.getLineNumber();
|
unsigned Line = Subprogram.getLineNumber();
|
||||||
|
|
||||||
// FIXME: Support more than just -Os.
|
if (Fast) {
|
||||||
const Function *F = I.getParent()->getParent();
|
|
||||||
if (!F->hasFnAttr(Attribute::OptimizeForSize)) {
|
|
||||||
unsigned LabelID = DW->RecordSourceLine(Line, 0, SrcFile);
|
unsigned LabelID = DW->RecordSourceLine(Line, 0, SrcFile);
|
||||||
if (DW->getRecordSourceLineCount() != 1)
|
if (DW->getRecordSourceLineCount() != 1)
|
||||||
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
DAG.setRoot(DAG.getLabel(ISD::DBG_LABEL, getCurDebugLoc(),
|
||||||
|
|
Loading…
Reference in New Issue