[PATCH] D42867: [WebAssembly] Add _edata, _end and other link-sythentic symbols

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 2 15:49:26 PST 2018


sunfish added a comment.

I'm nervous about adding all these symbols. I like ELF features when they make sense, but for some of these symbols here, it's difficult to think of even hypothetical valid use cases.

Adding these features could make it harder for us to change how we lay out memory in the future. For example, if we want to move where the stack is, or do things with the memory of dynamic libraries present at startup time, it may be harder if we have to consider whether someone might be using `_end` or other things and depending on memory having a particular layout.


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42867





More information about the llvm-commits mailing list