[PATCH] D77084: [lld][WebAssembly] Add test for --export of empty string

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Apr 11 18:40:59 PDT 2020


This revision was automatically updated to reflect the committed changes.
Closed by commit rG9225ff62789e: [lld][WebAssembly] Add test for --export of empty string (authored by sbc100).

Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D77084

Files:
  lld/test/wasm/export-empty.test


Index: lld/test/wasm/export-empty.test
===================================================================
--- /dev/null
+++ lld/test/wasm/export-empty.test
@@ -0,0 +1,4 @@
+RUN: llc -filetype=obj %p/Inputs/start.ll -o %t.o
+RUN: not wasm-ld --export "" %t.o -o %t.wasm 2>&1 | FileCheck --match-full-lines %s
+
+CHECK: wasm-ld: error: symbol exported via --export not found: 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D77084.256812.patch
Type: text/x-patch
Size: 376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200412/4e90b745/attachment.bin>


More information about the llvm-commits mailing list