[lld] [llvm] [WebAssembly] Add a newline at end of file (PR #212674)
Heejin Ahn via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 28 20:13:19 PDT 2026
https://github.com/aheejin created https://github.com/llvm/llvm-project/pull/212674
Some tests files lack a newline at end of file. This adds them.
>From c6516767b76f36f15a31c2f22b1a6f34bd04e36d Mon Sep 17 00:00:00 2001
From: Heejin Ahn <aheejin at gmail.com>
Date: Wed, 29 Jul 2026 03:11:50 +0000
Subject: [PATCH] [WebAssembly] Add a newline at end of file
Some tests files lack a newline at end of file. This adds them.
---
lld/test/wasm/lto/libcall-archive-bitcode.ll | 2 +-
llvm/test/CodeGen/WebAssembly/immutable-global-alias.ll | 2 +-
llvm/test/CodeGen/WebAssembly/imported-const-global.ll | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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