This is an archive of the discontinued LLVM Phabricator instance.

[ELF] - Linkerscript: use expression instead of uint64_t for Dot argument.
AbandonedPublic

Authored by grimar on Aug 2 2016, 7:20 AM.

Details

Reviewers
ruiu
rafael
Summary

Sometimes it can be useful to restrict the use of Dot in expression.
Patch allows to do that by replacing the uint64_t with a std::function,
which will be able either to return Dot value or error out.

I am using this in D23063.

Diff Detail

Event Timeline

grimar updated this revision to Diff 66470.Aug 2 2016, 7:20 AM
grimar retitled this revision from to [ELF] - Linkerscript: use expression instead of uint64_t for Dot argument..
grimar updated this object.
grimar added reviewers: ruiu, rafael.
grimar updated this object.
grimar added subscribers: llvm-commits, grimar, davide, evgeny777.
grimar abandoned this revision.Aug 17 2016, 8:32 AM

We can live without this.