diff options
author | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-10-21 17:32:43 -0400 |
---|---|---|
committer | Duncan P. N. Exon Smith <dexonsmith@apple.com> | 2020-10-23 12:55:51 -0400 |
commit | dbbc4f4e226be44e484f448be2d308d205c81038 (patch) | |
tree | e283daba4af7e366392f3953eadd847ede6dffcf /lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp | |
parent | 5668eda864e36baed92854fd13a89042d978ffa4 (diff) | |
download | llvm-dbbc4f4e226be44e484f448be2d308d205c81038.zip llvm-dbbc4f4e226be44e484f448be2d308d205c81038.tar.gz llvm-dbbc4f4e226be44e484f448be2d308d205c81038.tar.bz2 |
SourceManager: Encapsulate line number mapping into SrcMgr::LineOffsetMapping
Put the guts of `ComputeLineNumbers` into `LineOffsetMapping::get` and
`LineOffsetMapping::LineOffsetMapping`. As a drive-by, store the number
of lines directly in the bump-ptr-allocated array.
Differential Revision: https://reviews.llvm.org/D89913
Diffstat (limited to 'lldb/source/Plugins/Process/gdb-remote/ProcessGDBRemote.cpp')
0 files changed, 0 insertions, 0 deletions