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

George Rimar via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Aug 23 06:04:53 PDT 2017


grimar added a comment.

In https://reviews.llvm.org/D37059#850053, @davide wrote:

> Out of curiosity, where did you hit this?


I did not hit, just basing on my knowledge about how things work, I supposed this case will not work and checked.

> Is there any way to test that the assignment updates the value of `foo` to be 1 ?

I believe yes, I'll update the testcase.


https://reviews.llvm.org/D37059





More information about the llvm-commits mailing list