Fix a typo in lineinfo unittest.cc
When initializing the LineReader, the size passed should be the sizeof the dwarf4 line program. Change-Id: I67e6fa404d4fa8851e4958013a35a061fe169156 Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2585345 Reviewed-by: Sterling Augustine <saugustine@google.com>
This commit is contained in:
parent
78f7ae495b
commit
ebc5567370
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ TEST_F(LineProgram, ReadLinesDwarf4) {
|
|||
// dwarf4 line info headers don't encode the address size.
|
||||
byte_reader.SetAddressSize(8);
|
||||
LineInfo line_reader(dwarf4_line_program,
|
||||
sizeof(dwarf5_line_program),
|
||||
sizeof(dwarf4_line_program),
|
||||
&byte_reader,
|
||||
// dwarf4 line tables can't access the string sections
|
||||
// so pass values likely to make assertions fail if
|
||||
|
|
Loading…
Reference in a new issue