mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-13 23:20:41 +00:00
Set default location for the function if it is not already set.
This code is not yet enabled. llvm-svn: 83349
This commit is contained in:
parent
3b3d8a9d09
commit
6a7f2ee022
@ -747,6 +747,8 @@ void SelectionDAGISel::SelectAllBasicBlocks(Function &Fn,
|
||||
DebugLoc Loc = ExtractDebugLocation(DILoc,
|
||||
MF.getDebugLocInfo());
|
||||
FastIS->setCurDebugLoc(Loc);
|
||||
if (MF.getDefaultDebugLoc().isUnknown())
|
||||
MF.setDefaultDebugLoc(Loc);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user