[PATCH] [DWARF] Fix a bug in line info handling

Keno Fischer kfischer at college.harvard.edu
Fri May 22 15:54:03 PDT 2015


llvm-rtdyld just uses getLineInfoForAddressRange and dumps that out, so the change in the test case directly corresponds to a change in the return value of that function. However, I do believe that this is correct now, because the extra line was marked with end_sequence, which the DWARF standard says is `A boolean indicating that the current address is that of the first byte after the end of a sequence`, so I believe it shouldn't be included if you're asking for just the rows that cover the function. Will do the stylistic changes you note.


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D9925

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list