[all-commits] [llvm/llvm-project] f95273: Keep symbols passed by -init and -fini
Rui Ueyama via All-commits
all-commits at lists.llvm.org
Fri Nov 8 02:10:53 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: f95273f75aaa5db5493aea7902416ce3d5a09043
https://github.com/llvm/llvm-project/commit/f95273f75aaa5db5493aea7902416ce3d5a09043
Author: Rui Ueyama <ruiu at google.com>
Date: 2019-11-08 (Fri, 08 Nov 2019)
Changed paths:
M lld/ELF/Driver.cpp
A lld/test/ELF/lto/init-fini.ll
Log Message:
-----------
Keep symbols passed by -init and -fini
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 Revision: https://reviews.llvm.org/D69985
More information about the All-commits
mailing list