[PATCH] D70685: [WebAssembly] Fix the order of destructors in the LowerGlobalDtors pass.

Dan Gohman via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 25 11:04:21 PST 2019


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

Fix the LowerGlobalDtors pass to run destructors in the same order as the regular LLVM destructor lowering -- in reverse order, and not ordered to group destructors with common associated objects.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D70685

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
  llvm/test/CodeGen/WebAssembly/lower-global-dtors.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70685.230938.patch
Type: text/x-patch
Size: 10239 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191125/391a2b31/attachment.bin>


More information about the llvm-commits mailing list