[PATCH] D37059: [ELF] - LTO: do not optimize away symbols accessed from linkerscript.

Rui Ueyama via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 25 05:04:54 PDT 2017


ruiu accepted this revision.
ruiu added a comment.

LGTM



================
Comment at: ELF/LTO.cpp:166
+    // We tell LTO to not apply interprocedural optimization for following
+    // symbols because otherwise LTO can inline them while their values are
+    // still not final:
----------------
can -> would


https://reviews.llvm.org/D37059





More information about the llvm-commits mailing list