This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Added testcase gdb-index-ranges.s
ClosedPublic

Authored by grimar on May 2 2017, 8:40 AM.

Details

Summary

Before rL301170 was landed, LLD did not produce correct entries in .gdb_index address area.
Issue was fixed on LLVM DWARF parsers size and was relative to how .debug_ranges
section was scanned. It was main problem of PR32319 I think.

At the same time I think it makes sense to have testcase on LLD size too.
This checks that we generate proper values now, because we do not have any tests for .gdb_index
which works with .debug_ranges atm.

Diff Detail

Repository
rL LLVM

Event Timeline

grimar created this revision.May 2 2017, 8:40 AM
ruiu accepted this revision.May 2 2017, 10:21 AM

LGTM

This revision is now accepted and ready to land.May 2 2017, 10:21 AM
This revision was automatically updated to reflect the committed changes.