[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 14:35:05 PST 2018


sunfish added a comment.

Is there a use for `_edata`? I'm curious how applications would use it differently from `_end`.

Is there a way for applications to determine where the data starts? Traditionally that might be something like `_etext`, but of course that doesn't apply to wasm. Could they get it from `__bss_start` and/or `__heap_base`? What's the relationship between those symbols?


Repository:
  rLLD LLVM Linker

https://reviews.llvm.org/D42867





More information about the llvm-commits mailing list