From: Reid Kleckner Date: Sat, 31 Oct 2020 18:19:28 +0000 (-0700) Subject: Fix lld/wasm test portability issue, and XFAIL the test X-Git-Tag: llvmorg-13-init~7480 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=09662eeb46f76cda0a8d1102d8f67f7ad8ad64de;p=platform%2Fupstream%2Fllvm.git Fix lld/wasm test portability issue, and XFAIL the test I don't see any warnings from lld.wasm locally. Needs more investigation. --- 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