This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Allow to postpone SymbolAssignment proccessing.
AbandonedPublic

Authored by grimar on Feb 27 2017, 4:49 AM.

Details

Reviewers
ruiu
rafael
Summary

In some cases we are unable to handle SymbolAssignment instantly.
Expression may depend on offset of input section which was not set yet,
because corresponding output section command was not handled.

Patch adds a list of dependency symbols for Expr class. Before perform
assign, this list is updated and checked if all dependencies are resolved.
If not, assign expression is delayed.

This fixes PR32031.

Diff Detail

Event Timeline

grimar created this revision.Feb 27 2017, 4:49 AM
grimar abandoned this revision.Feb 27 2017, 5:06 AM