Commit 632c2179 authored by Sam Clegg's avatar Sam Clegg
Browse files

[WebAssembly] Error on R_WASM_MEMORY_ADDR relocations against undefined data symbols.

For these types of relocations an absolute memory address is
required which is not possible for undefined data symbols.  For symbols
that can be undefined at link time (i.e. external data symbols in
shared libraries) a different type of relocation (i.e. via a GOT) will
be needed.

Differential Revision: https://reviews.llvm.org/D59337

llvm-svn: 356310
parent 7097e83d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment