[all-commits] [llvm/llvm-project] 418cd8: [DebugInfo] Remove redundant checks for past-the-e...
James Henderson via All-commits
all-commits at lists.llvm.org
Fri Jan 3 04:36:28 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 418cd8216b41f4c08e0e1b22feda381d9b2345da
https://github.com/llvm/llvm-project/commit/418cd8216b41f4c08e0e1b22feda381d9b2345da
Author: James Henderson <jh7370 at my.bristol.ac.uk>
Date: 2020-01-03 (Fri, 03 Jan 2020)
Changed paths:
M llvm/lib/DebugInfo/DWARF/DWARFDebugLine.cpp
M llvm/test/tools/llvm-dwarfdump/X86/debug_line_invalid.test
Log Message:
-----------
[DebugInfo] Remove redundant checks for past-the-end of prologue
The V5 directory and filename tables had checks in to make sure we
hadn't read past the end of the line table prologue. Since previous
changes to the data extractor class ensure we never read past the end,
these checks are now redundant, so this patch removes them.
There is still a check to show that the whole prologue remains within
the prologue length.
Reviewed By: JDevlieghere
Differential Revision: https://reviews.llvm.org/D71768
More information about the All-commits
mailing list