From 09662eeb46f76cda0a8d1102d8f67f7ad8ad64de Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Sat, 31 Oct 2020 11:19:28 -0700 Subject: [PATCH] Fix lld/wasm test portability issue, and XFAIL the test I don't see any warnings from lld.wasm locally. Needs more investigation. --- lld/test/wasm/bad-reloc.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lld/test/wasm/bad-reloc.yaml b/lld/test/wasm/bad-reloc.yaml index 745ed99..9b07c44 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 -- 2.7.4