File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
overlays/patches/wasm/llvm Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -340,15 +340,22 @@ index 1f824b80bcd4..1025d3ee3026 100644
340340 getStreamer().emitELFSize(Sym, Expr);
341341 }
342342diff --git a/llvm/test/MC/WebAssembly/function-size-warning.s b/llvm/test/MC/WebAssembly/function-size-warning.s
343- index 627002dd3578..fd410d9ae67c 100644
343+ index 627002dd3578..95e9294f80f7 100644
344344--- a/llvm/test/MC/WebAssembly/function-size-warning.s
345345+++ b/llvm/test/MC/WebAssembly/function-size-warning.s
346- @@ -12,4 +12,4 @@ foo:
346+ @@ -1,5 +1,4 @@
347+ - # RUN: llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s -o %t.o 2>&1 | FileCheck %s
348+ - # RUN: llvm-objdump -t %t.o
349+ + # RUN: not llvm-mc -triple=wasm32-unknown-unknown -filetype=obj %s -o %t.o 2>&1 | FileCheck %s
350+
351+ foo:
352+ .functype foo () -> ()
353+ @@ -12,4 +11,4 @@ foo:
347354 # assembly files.
348355 .size foo, 0
349356
350357- # CHECK: warning: .size directive ignored for function symbols
351- + # CHECK-ERROR : error: .size directive ignored for function symbols
358+ + # CHECK: error: .size directive ignored for function symbols
352359diff --git a/llvm/test/MC/WebAssembly/null-output.s b/llvm/test/MC/WebAssembly/null-output.s
353360index fb15eecffc86..513e37d35039 100644
354361--- a/llvm/test/MC/WebAssembly/null-output.s
You can’t perform that action at this time.
0 commit comments