This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Cleanup of setReservedSymbolSections(). NFC.
AbandonedPublic

Authored by grimar on Oct 17 2017, 8:46 AM.

Details

Reviewers
ruiu
rafael
Summary

I suggest following cleanup to avoid duplication and make code more readable.

Diff Detail

Event Timeline

grimar created this revision.Oct 17 2017, 8:46 AM

Ping. Should I abandon it ?

ruiu edited edge metadata.Oct 24 2017, 11:32 AM

This patch doesn't seem to simplify code. I'd prefer the existing dumb but explicit code.

grimar abandoned this revision.Oct 25 2017, 1:46 AM

Ok, abandoning, though for me original code is harder to read.