[WebAssembly] Add test for event section order change
authorHeejin Ahn <aheejin@gmail.com>
Thu, 26 Mar 2020 04:48:37 +0000 (21:48 -0700)
committerHeejin Ahn <aheejin@gmail.com>
Thu, 26 Mar 2020 18:05:24 +0000 (11:05 -0700)
commitf033f201a7c821b4d5f9b0ed16cc550ca681d2a6
treead1e98c94f64d4eea48a9c281b89e22cfa57a468
parent6946ca4b4cb11086423cc9c8834050236923e5c6
[WebAssembly] Add test for event section order change

Summary:
This adds a test for D76752. Now the global section comes after the
event section, and this change makes sure it is satisfied.

Reviewers: sbc100, tlively

Reviewed By: tlively

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

Tags: #llvm

Differential Revision: https://reviews.llvm.org/D76823
lld/test/wasm/event-section.ll