[lld] r332009 - [WebAssembly] Remove final -wasm component of target triple. NFC.
Sam Clegg via llvm-commits
llvm-commits at lists.llvm.org
Thu May 10 10:59:42 PDT 2018
Author: sbc
Date: Thu May 10 10:59:41 2018
New Revision: 332009
URL: http://llvm.org/viewvc/llvm-project?rev=332009&view=rev
Log:
[WebAssembly] Remove final -wasm component of target triple. NFC.
This has been the default for a while now.
Modified:
lld/trunk/docs/WebAssembly.rst
lld/trunk/test/wasm/Inputs/archive1.ll
lld/trunk/test/wasm/Inputs/archive2.ll
lld/trunk/test/wasm/Inputs/call-indirect.ll
lld/trunk/test/wasm/Inputs/comdat1.ll
lld/trunk/test/wasm/Inputs/comdat2.ll
lld/trunk/test/wasm/Inputs/custom.ll
lld/trunk/test/wasm/Inputs/debuginfo1.ll
lld/trunk/test/wasm/Inputs/debuginfo2.ll
lld/trunk/test/wasm/Inputs/global-ctor-dtor.ll
lld/trunk/test/wasm/Inputs/hello.ll
lld/trunk/test/wasm/Inputs/hidden.ll
lld/trunk/test/wasm/Inputs/locals-duplicate1.ll
lld/trunk/test/wasm/Inputs/locals-duplicate2.ll
lld/trunk/test/wasm/Inputs/many-funcs.ll
lld/trunk/test/wasm/Inputs/ret32.ll
lld/trunk/test/wasm/Inputs/ret64.ll
lld/trunk/test/wasm/Inputs/start.ll
lld/trunk/test/wasm/Inputs/strong-symbol.ll
lld/trunk/test/wasm/Inputs/weak-alias.ll
lld/trunk/test/wasm/Inputs/weak-symbol1.ll
lld/trunk/test/wasm/Inputs/weak-symbol2.ll
lld/trunk/test/wasm/alias.ll
lld/trunk/test/wasm/archive.ll
lld/trunk/test/wasm/call-indirect.ll
lld/trunk/test/wasm/comdats.ll
lld/trunk/test/wasm/custom-sections.ll
lld/trunk/test/wasm/cxx-mangling.ll
lld/trunk/test/wasm/data-layout.ll
lld/trunk/test/wasm/demangle.ll
lld/trunk/test/wasm/driver.ll
lld/trunk/test/wasm/entry.ll
lld/trunk/test/wasm/export.ll
lld/trunk/test/wasm/fatal-warnings.ll
lld/trunk/test/wasm/function-imports-first.ll
lld/trunk/test/wasm/function-imports.ll
lld/trunk/test/wasm/gc-imports.ll
lld/trunk/test/wasm/gc-sections.ll
lld/trunk/test/wasm/init-fini.ll
lld/trunk/test/wasm/local-symbols.ll
lld/trunk/test/wasm/many-functions.ll
lld/trunk/test/wasm/reloc-addend.ll
lld/trunk/test/wasm/relocatable.ll
lld/trunk/test/wasm/signature-mismatch-weak.ll
lld/trunk/test/wasm/signature-mismatch.ll
lld/trunk/test/wasm/stack-pointer.ll
lld/trunk/test/wasm/symbol-type-mismatch.ll
lld/trunk/test/wasm/undefined-weak-call.ll
lld/trunk/test/wasm/undefined.ll
lld/trunk/test/wasm/version.ll
lld/trunk/test/wasm/visibility-hidden.ll
lld/trunk/test/wasm/weak-alias-overide.ll
lld/trunk/test/wasm/weak-alias.ll
lld/trunk/test/wasm/weak-symbols.ll
lld/trunk/test/wasm/weak-undefined.ll
Modified: lld/trunk/docs/WebAssembly.rst
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/docs/WebAssembly.rst?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/docs/WebAssembly.rst (original)
+++ lld/trunk/docs/WebAssembly.rst Thu May 10 10:59:41 2018
@@ -18,7 +18,7 @@ the WebAssembly tool conventions
https://github.com/WebAssembly/tool-conventions/blob/master/Linking.md.
This is object format that the llvm will produce when run with the
-``wasm32-unknown-unknown-wasm`` target. To build llvm with WebAssembly support
+``wasm32-unknown-unknown`` target. To build llvm with WebAssembly support
currently requires enabling the experimental backed using
``-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=WebAssembly``.
Modified: lld/trunk/test/wasm/Inputs/archive1.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/archive1.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/archive1.ll (original)
+++ lld/trunk/test/wasm/Inputs/archive1.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare i32 @bar() local_unnamed_addr #1
Modified: lld/trunk/test/wasm/Inputs/archive2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/archive2.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/archive2.ll (original)
+++ lld/trunk/test/wasm/Inputs/archive2.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare i32 @foo() local_unnamed_addr #1
Modified: lld/trunk/test/wasm/Inputs/call-indirect.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/call-indirect.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/call-indirect.ll (original)
+++ lld/trunk/test/wasm/Inputs/call-indirect.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@indirect_bar = internal local_unnamed_addr global i64 ()* @bar, align 4
@indirect_foo = internal local_unnamed_addr global i32 ()* @foo, align 4
Modified: lld/trunk/test/wasm/Inputs/comdat1.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/comdat1.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/comdat1.ll (original)
+++ lld/trunk/test/wasm/Inputs/comdat1.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
$inlineFn = comdat any
@constantData = weak_odr constant [3 x i8] c"abc", comdat($inlineFn)
Modified: lld/trunk/test/wasm/Inputs/comdat2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/comdat2.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/comdat2.ll (original)
+++ lld/trunk/test/wasm/Inputs/comdat2.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
$inlineFn = comdat any
@constantData = weak_odr constant [3 x i8] c"abc", comdat($inlineFn)
Modified: lld/trunk/test/wasm/Inputs/custom.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/custom.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/custom.ll (original)
+++ lld/trunk/test/wasm/Inputs/custom.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
!0 = !{ !"red", !"foo" }
!1 = !{ !"green", !"bar" }
Modified: lld/trunk/test/wasm/Inputs/debuginfo1.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/debuginfo1.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/debuginfo1.ll (original)
+++ lld/trunk/test/wasm/Inputs/debuginfo1.ll Thu May 10 10:59:41 2018
@@ -1,7 +1,7 @@
; ModuleID = 'hi.c'
source_filename = "hi.c"
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; // hi.c:
; extern void foo(int);
Modified: lld/trunk/test/wasm/Inputs/debuginfo2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/debuginfo2.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/debuginfo2.ll (original)
+++ lld/trunk/test/wasm/Inputs/debuginfo2.ll Thu May 10 10:59:41 2018
@@ -1,7 +1,7 @@
; ModuleID = 'hi_foo.c'
source_filename = "hi_foo.c"
target datalayout = "e-m:e-p:32:32-i64:64-n32:64-S128"
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; // hi_foo.c:
; int y[2] = {23, 41};
Modified: lld/trunk/test/wasm/Inputs/global-ctor-dtor.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/global-ctor-dtor.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/global-ctor-dtor.ll (original)
+++ lld/trunk/test/wasm/Inputs/global-ctor-dtor.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden void @myctor() {
entry:
Modified: lld/trunk/test/wasm/Inputs/hello.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/hello.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/hello.ll (original)
+++ lld/trunk/test/wasm/Inputs/hello.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Wasm module generated from the following C code:
; void puts(const char*);
Modified: lld/trunk/test/wasm/Inputs/hidden.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/hidden.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/hidden.ll (original)
+++ lld/trunk/test/wasm/Inputs/hidden.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: norecurse nounwind readnone
define hidden i32 @archiveHidden() #0 {
Modified: lld/trunk/test/wasm/Inputs/locals-duplicate1.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/locals-duplicate1.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/locals-duplicate1.ll (original)
+++ lld/trunk/test/wasm/Inputs/locals-duplicate1.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Will collide: local (internal linkage) with global (external) linkage
@colliding_global1 = internal default global i32 0, align 4
Modified: lld/trunk/test/wasm/Inputs/locals-duplicate2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/locals-duplicate2.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/locals-duplicate2.ll (original)
+++ lld/trunk/test/wasm/Inputs/locals-duplicate2.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Will collide: local (internal linkage) with global (external) linkage
@colliding_global1 = default global i32 0, align 4
Modified: lld/trunk/test/wasm/Inputs/many-funcs.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/many-funcs.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/many-funcs.ll (original)
+++ lld/trunk/test/wasm/Inputs/many-funcs.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@g0 = global i32 1, align 4
@foo = global i32 1, align 4
Modified: lld/trunk/test/wasm/Inputs/ret32.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/ret32.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/ret32.ll (original)
+++ lld/trunk/test/wasm/Inputs/ret32.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: norecurse nounwind readnone
define i32 @ret32(float %arg) #0 {
Modified: lld/trunk/test/wasm/Inputs/ret64.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/ret64.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/ret64.ll (original)
+++ lld/trunk/test/wasm/Inputs/ret64.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define i64 @ret64(double %arg) local_unnamed_addr #0 {
entry:
Modified: lld/trunk/test/wasm/Inputs/start.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/start.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/start.ll (original)
+++ lld/trunk/test/wasm/Inputs/start.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define void @_start() local_unnamed_addr {
entry:
Modified: lld/trunk/test/wasm/Inputs/strong-symbol.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/strong-symbol.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/strong-symbol.ll (original)
+++ lld/trunk/test/wasm/Inputs/strong-symbol.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define i64 @weakFn() #0 {
entry:
Modified: lld/trunk/test/wasm/Inputs/weak-alias.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/weak-alias.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/weak-alias.ll (original)
+++ lld/trunk/test/wasm/Inputs/weak-alias.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: norecurse nounwind readnone
define i32 @direct_fn() #0 {
Modified: lld/trunk/test/wasm/Inputs/weak-symbol1.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/weak-symbol1.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/weak-symbol1.ll (original)
+++ lld/trunk/test/wasm/Inputs/weak-symbol1.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define weak i32 @weakFn() #0 {
entry:
Modified: lld/trunk/test/wasm/Inputs/weak-symbol2.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/Inputs/weak-symbol2.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/Inputs/weak-symbol2.ll (original)
+++ lld/trunk/test/wasm/Inputs/weak-symbol2.ll Thu May 10 10:59:41 2018
@@ -1,4 +1,4 @@
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define weak i32 @weakFn() #0 {
entry:
Modified: lld/trunk/test/wasm/alias.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/alias.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/alias.ll (original)
+++ lld/trunk/test/wasm/alias.ll Thu May 10 10:59:41 2018
@@ -2,7 +2,7 @@
; RUN: wasm-ld %t.o -o %t.wasm
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@start_alias = alias void (), void ()* @_start
Modified: lld/trunk/test/wasm/archive.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/archive.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/archive.ll (original)
+++ lld/trunk/test/wasm/archive.ll Thu May 10 10:59:41 2018
@@ -13,7 +13,7 @@
; RUN: llvm-nm -a %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare i32 @foo() local_unnamed_addr #1
declare i32 @missing_func() local_unnamed_addr #1
Modified: lld/trunk/test/wasm/call-indirect.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/call-indirect.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/call-indirect.ll (original)
+++ lld/trunk/test/wasm/call-indirect.ll Thu May 10 10:59:41 2018
@@ -8,7 +8,7 @@
; int (*indirect_func)(void) = &foo;
; void _start(void) { indirect_func(); }
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@indirect_func = local_unnamed_addr global i32 ()* @foo, align 4
Modified: lld/trunk/test/wasm/comdats.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/comdats.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/comdats.ll (original)
+++ lld/trunk/test/wasm/comdats.ll Thu May 10 10:59:41 2018
@@ -4,7 +4,7 @@
; RUN: wasm-ld -o %t.wasm %t.o %t1.o %t2.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare i32 @inlineFn()
Modified: lld/trunk/test/wasm/custom-sections.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/custom-sections.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/custom-sections.ll (original)
+++ lld/trunk/test/wasm/custom-sections.ll Thu May 10 10:59:41 2018
@@ -3,7 +3,7 @@
; RUN: wasm-ld --relocatable -o %t.wasm %t1.o %t2.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define i32 @_start() local_unnamed_addr {
entry:
Modified: lld/trunk/test/wasm/cxx-mangling.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/cxx-mangling.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/cxx-mangling.ll (original)
+++ lld/trunk/test/wasm/cxx-mangling.ll Thu May 10 10:59:41 2018
@@ -4,7 +4,7 @@
; RUN: wasm-ld --no-demangle -o %t_nodemangle.wasm %t.o
; RUN: obj2yaml %t_nodemangle.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Check that the EXPORT name is still mangled, but that the "name" custom
; section contains the unmangled name.
Modified: lld/trunk/test/wasm/data-layout.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/data-layout.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/data-layout.ll (original)
+++ lld/trunk/test/wasm/data-layout.ll Thu May 10 10:59:41 2018
@@ -1,7 +1,7 @@
; RUN: llc -filetype=obj %p/Inputs/hello.ll -o %t.hello.o
; RUN: llc -filetype=obj %s -o %t.o
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@foo = hidden global i32 1, align 4
@aligned_bar = hidden global i32 3, align 16
Modified: lld/trunk/test/wasm/demangle.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/demangle.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/demangle.ll (original)
+++ lld/trunk/test/wasm/demangle.ll Thu May 10 10:59:41 2018
@@ -9,7 +9,7 @@
; CHECK-NODEMANGLE: error: undefined symbol: _Z3fooi
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden void @_start() local_unnamed_addr {
entry:
Modified: lld/trunk/test/wasm/driver.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/driver.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/driver.ll (original)
+++ lld/trunk/test/wasm/driver.ll Thu May 10 10:59:41 2018
@@ -1,6 +1,6 @@
; RUN: llc -filetype=obj %s -o %t.o
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden void @entry() local_unnamed_addr #0 {
entry:
Modified: lld/trunk/test/wasm/entry.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/entry.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/entry.ll (original)
+++ lld/trunk/test/wasm/entry.ll Thu May 10 10:59:41 2018
@@ -1,6 +1,6 @@
; RUN: llc -filetype=obj %s -o %t.o
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden void @entry() local_unnamed_addr #0 {
entry:
Modified: lld/trunk/test/wasm/export.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/export.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/export.ll (original)
+++ lld/trunk/test/wasm/export.ll Thu May 10 10:59:41 2018
@@ -3,7 +3,7 @@
; RUN: wasm-ld --export=hidden_function -o %t.wasm %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden i32 @hidden_function() local_unnamed_addr {
entry:
Modified: lld/trunk/test/wasm/fatal-warnings.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/fatal-warnings.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/fatal-warnings.ll (original)
+++ lld/trunk/test/wasm/fatal-warnings.ll Thu May 10 10:59:41 2018
@@ -5,7 +5,7 @@
; CHECK-WARN: warning: Function type mismatch: _start
; CHECK-FATAL: error: Function type mismatch: _start
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden i32 @_start(i32 %arg) local_unnamed_addr {
entry:
Modified: lld/trunk/test/wasm/function-imports-first.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/function-imports-first.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/function-imports-first.ll (original)
+++ lld/trunk/test/wasm/function-imports-first.ll Thu May 10 10:59:41 2018
@@ -3,7 +3,7 @@
; RUN: wasm-ld -o %t.wasm %t.o %t.ret32.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: nounwind
define hidden void @_start() local_unnamed_addr #0 {
Modified: lld/trunk/test/wasm/function-imports.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/function-imports.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/function-imports.ll (original)
+++ lld/trunk/test/wasm/function-imports.ll Thu May 10 10:59:41 2018
@@ -3,7 +3,7 @@
; RUN: wasm-ld -o %t.wasm %t.ret32.o %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: nounwind
define hidden void @_start() local_unnamed_addr #0 {
Modified: lld/trunk/test/wasm/gc-imports.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/gc-imports.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/gc-imports.ll (original)
+++ lld/trunk/test/wasm/gc-imports.ll Thu May 10 10:59:41 2018
@@ -2,7 +2,7 @@
; RUN: yaml2obj %S/Inputs/undefined-globals.yaml -o %t_globals.o
; RUN: wasm-ld -print-gc-sections --allow-undefined -o %t1.wasm %t.o %t_globals.o
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare hidden i64 @unused_undef_function(i64 %arg)
Modified: lld/trunk/test/wasm/gc-sections.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/gc-sections.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/gc-sections.ll (original)
+++ lld/trunk/test/wasm/gc-sections.ll Thu May 10 10:59:41 2018
@@ -9,7 +9,7 @@
; PRINT-GC: removing unused section {{.*}}:(unused_global)
; PRINT-GC-NOT: removing unused section {{.*}}:(used_global)
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@unused_data = hidden global i64 1, align 4
@used_data = hidden global i32 2, align 4
Modified: lld/trunk/test/wasm/init-fini.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/init-fini.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/init-fini.ll (original)
+++ lld/trunk/test/wasm/init-fini.ll Thu May 10 10:59:41 2018
@@ -1,7 +1,7 @@
; RUN: llc -filetype=obj -o %t.o %s
; RUN: llc -filetype=obj %S/Inputs/global-ctor-dtor.ll -o %t.global-ctor-dtor.o
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden void @func1() {
entry:
Modified: lld/trunk/test/wasm/local-symbols.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/local-symbols.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/local-symbols.ll (original)
+++ lld/trunk/test/wasm/local-symbols.ll Thu May 10 10:59:41 2018
@@ -2,7 +2,7 @@
; RUN: wasm-ld -o %t.wasm %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@foo = default global i32 1, align 4
@bar = internal default global i32 3, align 4
Modified: lld/trunk/test/wasm/many-functions.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/many-functions.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/many-functions.ll (original)
+++ lld/trunk/test/wasm/many-functions.ll Thu May 10 10:59:41 2018
@@ -8,7 +8,7 @@
; 128 function and so the final output requires a 2-byte LEB in
; the CODE section header to store the function count.
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define i32 @func() {
entry:
Modified: lld/trunk/test/wasm/reloc-addend.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/reloc-addend.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/reloc-addend.ll (original)
+++ lld/trunk/test/wasm/reloc-addend.ll Thu May 10 10:59:41 2018
@@ -2,7 +2,7 @@
; RUN: wasm-ld -r -o %t.wasm %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@foo = hidden global [76 x i32] zeroinitializer, align 16
Modified: lld/trunk/test/wasm/relocatable.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/relocatable.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/relocatable.ll (original)
+++ lld/trunk/test/wasm/relocatable.ll Thu May 10 10:59:41 2018
@@ -3,7 +3,7 @@
; RUN: wasm-ld -r -o %t.wasm %t.hello.o %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: nounwind
define hidden i32 @my_func() local_unnamed_addr {
Modified: lld/trunk/test/wasm/signature-mismatch-weak.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/signature-mismatch-weak.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/signature-mismatch-weak.ll (original)
+++ lld/trunk/test/wasm/signature-mismatch-weak.ll Thu May 10 10:59:41 2018
@@ -3,7 +3,7 @@
; RUN: llc -filetype=obj %s -o %t.o
; RUN: wasm-ld -o %t.wasm %t.o %t.strong.o %t.weak.o 2>&1 | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare i32 @weakFn() local_unnamed_addr
Modified: lld/trunk/test/wasm/signature-mismatch.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/signature-mismatch.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/signature-mismatch.ll (original)
+++ lld/trunk/test/wasm/signature-mismatch.ll Thu May 10 10:59:41 2018
@@ -6,7 +6,7 @@
; one.
; RUN: not wasm-ld --fatal-warnings -o %t.wasm %t.ret32.o %t.main.o 2>&1 | FileCheck %s -check-prefix=REVERSE
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: nounwind
define hidden void @_start() local_unnamed_addr #0 {
Modified: lld/trunk/test/wasm/stack-pointer.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/stack-pointer.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/stack-pointer.ll (original)
+++ lld/trunk/test/wasm/stack-pointer.ll Thu May 10 10:59:41 2018
@@ -2,7 +2,7 @@
; RUN: wasm-ld --relocatable -o %t.wasm %t.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Function Attrs: nounwind
define i32 @_start() local_unnamed_addr {
Modified: lld/trunk/test/wasm/symbol-type-mismatch.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/symbol-type-mismatch.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/symbol-type-mismatch.ll (original)
+++ lld/trunk/test/wasm/symbol-type-mismatch.ll Thu May 10 10:59:41 2018
@@ -2,7 +2,7 @@
; RUN: llc -filetype=obj %p/Inputs/ret32.ll -o %t.ret32.o
; RUN: not wasm-ld -o %t.wasm %t.o %t.ret32.o 2>&1 | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@ret32 = extern_weak global i32, align 4
Modified: lld/trunk/test/wasm/undefined-weak-call.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/undefined-weak-call.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/undefined-weak-call.ll (original)
+++ lld/trunk/test/wasm/undefined-weak-call.ll Thu May 10 10:59:41 2018
@@ -6,7 +6,7 @@
; Check that calling an undefined weak function generates an appropriate stub
; that will fail at runtime with "unreachable".
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare extern_weak void @weakFunc1()
declare extern_weak void @weakFunc2() ; same signature
Modified: lld/trunk/test/wasm/undefined.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/undefined.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/undefined.ll (original)
+++ lld/trunk/test/wasm/undefined.ll Thu May 10 10:59:41 2018
@@ -13,7 +13,7 @@
; Succeeds even if a missing symbol is added via --export
; RUN: wasm-ld --allow-undefined --export=xxx -o %t.wasm %t.o
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
; Takes the address of the external foo() resulting in undefined external
@bar = hidden local_unnamed_addr global i8* bitcast (i32 ()* @foo to i8*), align 4
Modified: lld/trunk/test/wasm/version.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/version.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/version.ll (original)
+++ lld/trunk/test/wasm/version.ll Thu May 10 10:59:41 2018
@@ -2,7 +2,7 @@
; RUN: wasm-ld -o %t.wasm %t.o
; RUN: llvm-readobj -file-headers %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden void @_start() local_unnamed_addr #0 {
entry:
Modified: lld/trunk/test/wasm/visibility-hidden.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/visibility-hidden.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/visibility-hidden.ll (original)
+++ lld/trunk/test/wasm/visibility-hidden.ll Thu May 10 10:59:41 2018
@@ -7,7 +7,7 @@
; Test that hidden symbols are not exported, whether pulled in from an archive
; or directly.
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define hidden i32 @objectHidden() {
entry:
Modified: lld/trunk/test/wasm/weak-alias-overide.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/weak-alias-overide.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/weak-alias-overide.ll (original)
+++ lld/trunk/test/wasm/weak-alias-overide.ll Thu May 10 10:59:41 2018
@@ -6,7 +6,7 @@
; Test that the strongly defined alias_fn from this file is used both here
; and in call_alias.
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
define i32 @alias_fn() local_unnamed_addr #1 {
ret i32 1
Modified: lld/trunk/test/wasm/weak-alias.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/weak-alias.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/weak-alias.ll (original)
+++ lld/trunk/test/wasm/weak-alias.ll Thu May 10 10:59:41 2018
@@ -5,7 +5,7 @@
; Test that weak aliases (alias_fn is a weak alias of direct_fn) are linked correctly
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare i32 @alias_fn() local_unnamed_addr #1
Modified: lld/trunk/test/wasm/weak-symbols.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/weak-symbols.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/weak-symbols.ll (original)
+++ lld/trunk/test/wasm/weak-symbols.ll Thu May 10 10:59:41 2018
@@ -4,7 +4,7 @@
; RUN: wasm-ld -no-gc-sections -o %t.wasm %t.o %t1.o %t2.o
; RUN: obj2yaml %t.wasm | FileCheck %s
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
declare i32 @weakFn() local_unnamed_addr
@weakGlobal = external global i32
Modified: lld/trunk/test/wasm/weak-undefined.ll
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/test/wasm/weak-undefined.ll?rev=332009&r1=332008&r2=332009&view=diff
==============================================================================
--- lld/trunk/test/wasm/weak-undefined.ll (original)
+++ lld/trunk/test/wasm/weak-undefined.ll Thu May 10 10:59:41 2018
@@ -5,7 +5,7 @@
; Test that undefined weak externals (global_var) and (foo) don't cause
; link failures and resolve to zero.
-target triple = "wasm32-unknown-unknown-wasm"
+target triple = "wasm32-unknown-unknown"
@global_var = extern_weak global i32, align 4
More information about the llvm-commits
mailing list