Drop location ranges which exist entirely outside each variable's scope.
Declared in <llvm/CodeGen/DbgEntityHistoryCalculator.h>
void
trimLocationRanges(
MachineFunction const& MF,
LexicalScopes& LScopes,
InstructionOrdering const& Ordering);
| Name | Description |
|---|---|
| MF | Function providing instruction context for the histories. |
| LScopes | Lexical scopes used to decide which ranges are in-scope. |
| Ordering | Instruction order used to compare range endpoints. |