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

Sam Clegg via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 13:04:38 PDT 2020


sbc100 created this revision.
Herald added subscribers: llvm-commits, sunfish, aheejin, jgravelle-google, dschuff.
Herald added a project: LLVM.

The actual bug was fixed in https://reviews.llvm.org/D74589


Repository:
  rG LLVM Github Monorepo

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.253673.patch
Type: text/x-patch
Size: 376 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200330/19db06f5/attachment-0001.bin>


More information about the llvm-commits mailing list