[PATCH] D57758: [WebAssembly] Use wasm-ld rather than lld with -flavor in tests. NFC.

Phabricator via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 5 08:53:36 PST 2019


This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL353187: [WebAssembly] Use wasm-ld rather than lld with -flavor in tests. NFC. (authored by sbc, committed by ).

Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D57758/new/

https://reviews.llvm.org/D57758

Files:
  lld/trunk/test/wasm/fatal-warnings.ll
  lld/trunk/test/wasm/lto/opt-level.ll


Index: lld/trunk/test/wasm/lto/opt-level.ll
===================================================================
--- lld/trunk/test/wasm/lto/opt-level.ll
+++ lld/trunk/test/wasm/lto/opt-level.ll
@@ -7,11 +7,11 @@
 ; RUN: obj2yaml %t2a | FileCheck --check-prefix=CHECK-O2 %s
 
 ; Reject invalid optimization levels.
-; RUN: not ld.lld -o %t3 -e main --lto-O6 %t.o 2>&1 | \
+; RUN: not wasm-ld -o %t3 -e main --lto-O6 %t.o 2>&1 | \
 ; RUN:   FileCheck --check-prefix=INVALID %s
 ; INVALID: invalid optimization level for LTO: 6
 
-; RUN: not ld.lld -o %t3 -m elf_x86_64 -e main --lto-O-1 %t.o 2>&1 | \
+; RUN: not wasm-ld -o %t3 -m elf_x86_64 -e main --lto-O-1 %t.o 2>&1 | \
 ; RUN:   FileCheck --check-prefix=INVALIDNEGATIVE %s
 ; INVALIDNEGATIVE: invalid optimization level for LTO: 4294967295
 
Index: lld/trunk/test/wasm/fatal-warnings.ll
===================================================================
--- lld/trunk/test/wasm/fatal-warnings.ll
+++ lld/trunk/test/wasm/fatal-warnings.ll
@@ -1,7 +1,7 @@
 ; RUN: llc -filetype=obj %s -o %t.main.o
 ; RUN: llc -filetype=obj %p/Inputs/ret32.ll -o %t.ret32.o
-; RUN: lld -flavor wasm -o %t.wasm %t.main.o %t.ret32.o 2>&1 | FileCheck %s -check-prefix=CHECK-WARN
-; RUN: not lld -flavor wasm --fatal-warnings -o %t.wasm %t.main.o %t.ret32.o 2>&1 | FileCheck %s -check-prefix=CHECK-FATAL
+; RUN: wasm-ld -o %t.wasm %t.main.o %t.ret32.o 2>&1 | FileCheck %s -check-prefix=CHECK-WARN
+; RUN: not wasm-ld --fatal-warnings -o %t.wasm %t.main.o %t.ret32.o 2>&1 | FileCheck %s -check-prefix=CHECK-FATAL
 
 ; CHECK-WARN: warning: function signature mismatch: ret32
 ; CHECK-FATAL: error: function signature mismatch: ret32


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D57758.185324.patch
Type: text/x-patch
Size: 1662 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190205/431d9447/attachment.bin>


More information about the llvm-commits mailing list