This is an archive of the discontinued LLVM Phabricator instance.

Split Defined and DefinedElf
ClosedPublic

Authored by rafael on Dec 23 2015, 1:40 PM.

Details

Reviewers
ruiu
Summary

This is similar to what was done for Undefined and opens the way for having a symbol defined in bitcode

Diff Detail

Event Timeline

rafael updated this revision to Diff 43556.Dec 23 2015, 1:40 PM
rafael retitled this revision from to Split Defined and DefinedElf.
rafael updated this object.
rafael added a reviewer: ruiu.
rafael added subscribers: llvm-commits, grimar.
emaste added a subscriber: emaste.Dec 23 2015, 1:59 PM
ruiu accepted this revision.Dec 23 2015, 4:32 PM
ruiu edited edge metadata.

LGTM with a few nits.

ELF/Symbols.h
63–64

Why did you change the order?

140

elf -> ELF

152

Ah, so you changed the order for this. But this maybe too subtle? I'd define DefinedElfLast enum and do S->kind() <= DefinedElfLast here.

This revision is now accepted and ready to land.Dec 23 2015, 4:32 PM
grimar added inline comments.Dec 24 2015, 12:40 AM
ELF/Symbols.h
152

I strongly agree here.

Eugene.Zelenko added a subscriber: Eugene.Zelenko.

Committed in r256354.