mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-24 01:26:05 +00:00

All but one callsite were actually passing start+length arguments.
This should not have any functional change since the end argument is
almost always ignored.
I noticed this while debugging some incorrect error messages being
printed while running the testsuite baremetal (using binaries that did
not have a valid eh_frame_hdr section): the tests print
`libunwind: unsupported .eh_frame_hdr version: 20 at
8000d30814
`
because
libunwind is reading nonsense data for .eh_frame_hdr.