Fix lld/wasm test portability issue, and XFAIL the test

I don't see any warnings from lld.wasm locally. Needs more
investigation.
This commit is contained in:
Reid Kleckner 2020-10-31 11:19:28 -07:00
parent 32cc962ef3
commit 09662eeb46
1 changed files with 4 additions and 1 deletions

View File

@ -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