[llvm] r326571 - [WebAssembly] Update tests after r326541
Ilya Biryukov via llvm-commits
llvm-commits at lists.llvm.org
Fri Mar 2 05:52:21 PST 2018
Author: ibiryukov
Date: Fri Mar 2 05:52:21 2018
New Revision: 326571
URL: http://llvm.org/viewvc/llvm-project?rev=326571&view=rev
Log:
[WebAssembly] Update tests after r326541
r326541 slightly increased the size of WebAssembly object files
and it broke test/MC/WebAssembly/global-ctor-dtor.ll.
This commit updates the test to unbreak it, also mentioned this to the
author of the original commit in case they don't want it.
Modified:
llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll
Modified: llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll?rev=326571&r1=326570&r2=326571&view=diff
==============================================================================
--- llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll (original)
+++ llvm/trunk/test/MC/WebAssembly/global-ctor-dtor.ll Fri Mar 2 05:52:21 2018
@@ -68,38 +68,38 @@ declare void @func3()
; CHECK-NEXT: Offset: 0x00000004
; CHECK-NEXT: - Type: R_WEBASSEMBLY_TABLE_INDEX_SLEB
; CHECK-NEXT: Index: 0
-; CHECK-NEXT: Offset: 0x0000000F
+; CHECK-NEXT: Offset: 0x00000010
; CHECK-NEXT: - Type: R_WEBASSEMBLY_MEMORY_ADDR_SLEB
; CHECK-NEXT: Index: 3
-; CHECK-NEXT: Offset: 0x00000017
+; CHECK-NEXT: Offset: 0x00000018
; CHECK-NEXT: - Type: R_WEBASSEMBLY_FUNCTION_INDEX_LEB
; CHECK-NEXT: Index: 4
-; CHECK-NEXT: Offset: 0x0000001D
+; CHECK-NEXT: Offset: 0x0000001E
; CHECK-NEXT: - Type: R_WEBASSEMBLY_FUNCTION_INDEX_LEB
; CHECK-NEXT: Index: 6
-; CHECK-NEXT: Offset: 0x0000002C
+; CHECK-NEXT: Offset: 0x0000002D
; CHECK-NEXT: - Type: R_WEBASSEMBLY_TABLE_INDEX_SLEB
; CHECK-NEXT: Index: 5
-; CHECK-NEXT: Offset: 0x00000037
+; CHECK-NEXT: Offset: 0x00000039
; CHECK-NEXT: - Type: R_WEBASSEMBLY_MEMORY_ADDR_SLEB
; CHECK-NEXT: Index: 3
-; CHECK-NEXT: Offset: 0x0000003F
+; CHECK-NEXT: Offset: 0x00000041
; CHECK-NEXT: - Type: R_WEBASSEMBLY_FUNCTION_INDEX_LEB
; CHECK-NEXT: Index: 4
-; CHECK-NEXT: Offset: 0x00000045
+; CHECK-NEXT: Offset: 0x00000047
; CHECK-NEXT: Functions:
; CHECK-NEXT: - Index: 5
; CHECK-NEXT: Locals:
; CHECK-NEXT: Body: 1080808080000B
; CHECK-NEXT: - Index: 6
; CHECK-NEXT: Locals:
-; CHECK-NEXT: Body: 024041818080800041004180808080001081808080000D000F0B00000B
+; CHECK-NEXT: Body: 02C00041818080800041004180808080001081808080000D000F0B00000B
; CHECK-NEXT: - Index: 7
; CHECK-NEXT: Locals:
; CHECK-NEXT: Body: 1082808080000B
; CHECK-NEXT: - Index: 8
; CHECK-NEXT: Locals:
-; CHECK-NEXT: Body: 024041828080800041004180808080001081808080000D000F0B00000B
+; CHECK-NEXT: Body: 02C00041828080800041004180808080001081808080000D000F0B00000B
; CHECK-NEXT: - Type: DATA
; CHECK-NEXT: Segments:
; CHECK-NEXT: - SectionOffset: 6
More information about the llvm-commits
mailing list