This is an archive of the discontinued LLVM Phabricator instance.

Remove MipsAbiFlagsSection class and add createMipsAbiFlagsSection function instead.
Needs ReviewPublic

Authored by ruiu on Oct 26 2017, 8:48 PM.

Details

Reviewers
atanasyan
Summary

I was trying to remove a MIPS-specific class because it can just be
represented as InputSection. However, when I made this logically-equivalent
change, some tests started failing because section offsets were no longer
the same as before. Do you have any idea how this can happen?

Event Timeline

ruiu created this revision.Oct 26 2017, 8:48 PM
atanasyan edited edge metadata.Nov 2 2017, 8:39 AM

I do not know what happens (did not have a time for a detailed investigation), but an immediate reason is appearing empty .bss.rel.ro section in the linked file.