projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9681901
)
[lld][WebAssembly] Add test for --export of empty string
author
Sam Clegg
<sbc@chromium.org>
Fri, 27 Mar 2020 23:54:39 +0000
(16:54 -0700)
committer
Sam Clegg
<sbc@chromium.org>
Sun, 12 Apr 2020 01:21:40 +0000
(18:21 -0700)
The actual bug was fixed in https://reviews.llvm.org/D74589
Differential Revision: https://reviews.llvm.org/D77084
lld/test/wasm/export-empty.test
[new file with mode: 0644]
patch
|
blob
diff --git a/lld/test/wasm/export-empty.test
b/lld/test/wasm/export-empty.test
new file mode 100644
(file)
index 0000000..
1c0f7bb
--- /dev/null
+++ b/
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: