[PATCH] D70515: [WebAssembly] Create a __stack_limit variable

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 20 15:11:24 PST 2019


sunfish created this revision.
sunfish added a reviewer: sbc100.
Herald added subscribers: aheejin, hiraditya, jgravelle-google, dschuff.
Herald added a project: LLVM.

Create a __stack_limit variable, similar to __stack_pointer, to mark
the end of the stack. This will support stack overflow checks.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70515

Files:
  lld/test/wasm/data-layout.ll
  lld/test/wasm/gc-sections.ll
  lld/test/wasm/no-tls.test
  lld/test/wasm/pic-static.ll
  lld/test/wasm/tls-align.ll
  lld/test/wasm/tls.ll
  lld/wasm/Driver.cpp
  lld/wasm/Symbols.cpp
  lld/wasm/Symbols.h
  lld/wasm/Writer.cpp
  llvm/lib/Target/WebAssembly/WebAssemblyMCInstLower.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70515.230342.patch
Type: text/x-patch
Size: 12632 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191120/ed553a12/attachment.bin>


More information about the llvm-commits mailing list