[lld] 09662ee - Fix lld/wasm test portability issue, and XFAIL the test
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Sat Oct 31 11:20:16 PDT 2020
Author: Reid Kleckner
Date: 2020-10-31T11:19:28-07:00
New Revision: 09662eeb46f76cda0a8d1102d8f67f7ad8ad64de
URL: https://github.com/llvm/llvm-project/commit/09662eeb46f76cda0a8d1102d8f67f7ad8ad64de
DIFF: https://github.com/llvm/llvm-project/commit/09662eeb46f76cda0a8d1102d8f67f7ad8ad64de.diff
LOG: Fix lld/wasm test portability issue, and XFAIL the test
I don't see any warnings from lld.wasm locally. Needs more
investigation.
Added:
Modified:
lld/test/wasm/bad-reloc.yaml
Removed:
################################################################################
diff --git a/lld/test/wasm/bad-reloc.yaml b/lld/test/wasm/bad-reloc.yaml
index 745ed99e2759..9b07c44c3317 100644
--- a/lld/test/wasm/bad-reloc.yaml
+++ b/lld/test/wasm/bad-reloc.yaml
@@ -1,11 +1,14 @@
# RUN: yaml2obj %s -o %t.o
-# RUN: not wasm-ld --fatal-warnings %t.o -o - 2>&1 | FileCheck %s
+# RUN: not wasm-ld --fatal-warnings %t.o -o /dev/null 2>&1 | FileCheck %s
#
# CHECK: bad-reloc.yaml.tmp.o:(_start): unexpected existing value for R_WASM_MEMORY_ADDR_LEB: existing=1 expected=0
#
# The code section bellow has been modified such that the target of the
# relocation is 8180808000 (LEB of 1) rather than 8080808000 (LEB = 0)
+# FIXME: Error doesn't appear to arise.
+# XFAIL: windows
+
--- !WASM
FileHeader:
Version: 0x00000001
More information about the llvm-commits
mailing list