[lld] 3cd96a7 - [lld][WebAssembly] Renamed a few tests to conform to naming convention. NFC

Sam Clegg via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 31 13:32:19 PST 2023


Author: Sam Clegg
Date: 2023-01-31T13:25:00-08:00
New Revision: 3cd96a7309f67ab3b91ddcbd7e6d2ba9b714aba7

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

LOG: [lld][WebAssembly] Renamed a few tests to conform to naming convention. NFC

Differential Revision: https://reviews.llvm.org/D143009

Added: 
    lld/test/wasm/Inputs/sig-mismatch.s
    lld/test/wasm/ctor-return-value.s
    lld/test/wasm/tls-init-symbols.s

Modified: 
    lld/test/wasm/signature-mismatch-relocatable.s

Removed: 
    lld/test/wasm/Inputs/sig_mismatch.s
    lld/test/wasm/ctor_return_value.s
    lld/test/wasm/tls_init_symbols.s


################################################################################
diff  --git a/lld/test/wasm/Inputs/sig_mismatch.s b/lld/test/wasm/Inputs/sig-mismatch.s
similarity index 100%
rename from lld/test/wasm/Inputs/sig_mismatch.s
rename to lld/test/wasm/Inputs/sig-mismatch.s

diff  --git a/lld/test/wasm/ctor_return_value.s b/lld/test/wasm/ctor-return-value.s
similarity index 100%
rename from lld/test/wasm/ctor_return_value.s
rename to lld/test/wasm/ctor-return-value.s

diff  --git a/lld/test/wasm/signature-mismatch-relocatable.s b/lld/test/wasm/signature-mismatch-relocatable.s
index f5d99bf8ffef6..e4eddd3671af2 100644
--- a/lld/test/wasm/signature-mismatch-relocatable.s
+++ b/lld/test/wasm/signature-mismatch-relocatable.s
@@ -1,12 +1,12 @@
 # RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t.o %s
-# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t2.o %S/Inputs/sig_mismatch.s
+# RUN: llvm-mc -filetype=obj -triple=wasm32-unknown-unknown -o %t2.o %S/Inputs/sig-mismatch.s
 # RUN: wasm-ld --relocatable %t.o %t2.o -o %t.wasm
 # RUN: obj2yaml %t.wasm | FileCheck %s
 
 # Regression test for handling of signature mismatches (variant function
 # symbols) and relocatable output.  This issue only occurred when the undefined
 # function was seen first and the defined function was referenced within the
-# the defining file (see %S/Inputs/sig_mismatch.s).
+# the defining file (see %S/Inputs/sig-mismatch.s).
 
 .functype foo (i32, i64, i32) -> (i32)
 

diff  --git a/lld/test/wasm/tls_init_symbols.s b/lld/test/wasm/tls-init-symbols.s
similarity index 100%
rename from lld/test/wasm/tls_init_symbols.s
rename to lld/test/wasm/tls-init-symbols.s


        


More information about the llvm-commits mailing list