Previously, symbols passed by -init and -fini look as if they are
not referenced by anyone, and the LTO might eliminate them.
This patch fixes the issue.
Fixes a bug reported in https://bugs.llvm.org/show_bug.cgi?id=43927
Differential D69985
Keep symbols passed by -init and -fini ruiu on Nov 7 2019, 9:43 PM. Authored by
Details Previously, symbols passed by -init and -fini look as if they are Fixes a bug reported in https://bugs.llvm.org/show_bug.cgi?id=43927
Diff Detail
Event Timeline
|
Perhaps a stupid question, but still: can these symbols be lazy? i.e. should handleUndefined be used here, like for config->entry?