[lld] bb33de7 - [WebAssembly] Add a newline at end of file (#212674)

via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 28 20:49:28 PDT 2026


Author: Heejin Ahn
Date: 2026-07-29T03:49:22Z
New Revision: bb33de72920a7a62633af0f1ab484d114a07fe7f

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

LOG: [WebAssembly] Add a newline at end of file (#212674)

Some tests files lack a newline at end of file. This adds it.

Added: 
    

Modified: 
    lld/test/wasm/lto/libcall-archive-bitcode.ll
    llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll
    llvm/test/CodeGen/WebAssembly/imported-const-global.ll

Removed: 
    


################################################################################
diff  --git a/lld/test/wasm/lto/libcall-archive-bitcode.ll b/lld/test/wasm/lto/libcall-archive-bitcode.ll
index 3b640efc1091f..dd2e2fddbdc97 100644
--- a/lld/test/wasm/lto/libcall-archive-bitcode.ll
+++ b/lld/test/wasm/lto/libcall-archive-bitcode.ll
@@ -53,4 +53,4 @@ define i32 @_start() {
   ret i32 0
 }
 
-declare i32 @printf(ptr, ...)
\ No newline at end of file
+declare i32 @printf(ptr, ...)

diff  --git a/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll b/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll
index 0953010b50125..3fe75209aa2ea 100644
--- a/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll
+++ b/llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll
@@ -13,4 +13,4 @@ define i32 @foo() {
 }
 
 ; CHECK:       .globaltype     defined_g, i32, immutable
-; CHECK:       defined_g_alias = defined_g
\ No newline at end of file
+; CHECK:       defined_g_alias = defined_g

diff  --git a/llvm/test/CodeGen/WebAssembly/imported-const-global.ll b/llvm/test/CodeGen/WebAssembly/imported-const-global.ll
index 3a29cd042228e..b59704deec042 100644
--- a/llvm/test/CodeGen/WebAssembly/imported-const-global.ll
+++ b/llvm/test/CodeGen/WebAssembly/imported-const-global.ll
@@ -25,4 +25,4 @@ define i32 @goo() {
 ; OBJ:               Field:           imported_g
 ; OBJ:               Kind:            GLOBAL
 ; OBJ:               GlobalType:      I32
-; OBJ:               GlobalMutable:   false
\ No newline at end of file
+; OBJ:               GlobalMutable:   false


        


More information about the llvm-commits mailing list