[lld] f033f20 - [WebAssembly] Add test for event section order change

Heejin Ahn via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 26 11:05:34 PDT 2020


Author: Heejin Ahn
Date: 2020-03-26T11:05:24-07:00
New Revision: f033f201a7c821b4d5f9b0ed16cc550ca681d2a6

URL: https://github.com/llvm/llvm-project/commit/f033f201a7c821b4d5f9b0ed16cc550ca681d2a6
DIFF: https://github.com/llvm/llvm-project/commit/f033f201a7c821b4d5f9b0ed16cc550ca681d2a6.diff

LOG: [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

Added: 
    

Modified: 
    lld/test/wasm/event-section.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/wasm/event-section.ll b/lld/test/wasm/event-section.ll
index 771a8cbdf6c2..7bd87907e931 100644
--- a/lld/test/wasm/event-section.ll
+++ b/lld/test/wasm/event-section.ll
@@ -32,3 +32,6 @@ define void @_start() {
 ; CHECK-NEXT:       - Index:           0
 ; CHECK-NEXT:         Attribute:       0
 ; CHECK-NEXT:         SigIndex:        1
+
+; Global section has to come after event section
+; CHECK:        - Type:            GLOBAL


        


More information about the llvm-commits mailing list