]> granicus.if.org Git - llvm/commit
[WebAssembly] Fix crash when @llvm.global_dtors is external
authorThomas Lively <tlively@google.com>
Fri, 1 Mar 2019 00:12:13 +0000 (00:12 +0000)
committerThomas Lively <tlively@google.com>
Fri, 1 Mar 2019 00:12:13 +0000 (00:12 +0000)
commitf8000577968f75fb35b9f1cef3b95a2eda1e1563
tree4cdc9bc9cd54ecb5b49a2bbc5ccf94e3068047c5
parent568bf88e60cc1d1ed35c068602f5ad8274ecd442
[WebAssembly] Fix crash when @llvm.global_dtors is external

Reviewers: aheejin

Subscribers: dschuff, sbc100, jgravelle-google, hiraditya, sunfish, llvm-commits

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D58799

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@355157 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/WebAssembly/WebAssemblyLowerGlobalDtors.cpp
test/CodeGen/WebAssembly/global_dtors.ll [new file with mode: 0644]