Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Directly restore line table from repo to unit
The line table is a shorter version of the source location table and is needed for run time behavior beyond on-line debugging. When a unit is read from a repo, the line table is converted to a pseudo source location table, which is then converted back to a line table when the unit emitter creates the unit. This line table to source location table to line table conversion seems silly in itself. It also does not round trip faithfully, with the result that code that depends on the line table will behave differently the first time than the second time. This may have be the source of flaky tests in the past. Right now, the debugger's small step flow test fails if run a second time. This diff gets rid of the conversion and directly propagates the line table from the repo to the unit. Reviewed By: @mikemag Differential Revision: D969062
- Loading branch information