This is an archive of the discontinued LLVM Phabricator instance.

LTO: expose LTO_SYMBOL_COMDAT flag, which indicates that the definition is part of a comdat group.
ClosedPublic

Authored by pcc on Jun 8 2015, 4:47 PM.

Diff Detail

Event Timeline

pcc updated this revision to Diff 27350.Jun 8 2015, 4:47 PM
pcc retitled this revision from to LTO: expose LTO_SYMBOL_DEFINITION_COMDAT flag, which indicates that the definition is part of a comdat group..
pcc updated this object.
pcc edited the test plan for this revision. (Show Details)
pcc added a reviewer: rafael.
pcc added subscribers: ruiu, Unknown Object (MLST).
rafael edited edge metadata.Jun 11 2015, 12:07 PM

With this LTO_SYMBOL_DEFINITION_WEAK will not be set if the def is in a comdat.

Given that those things are orthogonal, don't you want to make this an independent flag?

pcc updated this revision to Diff 27544.Jun 11 2015, 2:22 PM
pcc retitled this revision from LTO: expose LTO_SYMBOL_DEFINITION_COMDAT flag, which indicates that the definition is part of a comdat group. to LTO: expose LTO_SYMBOL_COMDAT flag, which indicates that the definition is part of a comdat group..
pcc edited edge metadata.

Make COMDAT flag orthogonal to definition

This revision was automatically updated to reflect the committed changes.