llvm-project/llvm/test/MC/WebAssembly
Sam Clegg e7a60708ff [WebAssembly] Only treat imports/exports as symbols when reading relocatable object files
This change only treats imported and exports functions and globals
as symbol table entries the object has a "linking" section (i.e. it is
relocatable object file).

In this case all globals must be of type I32 and initialized with
i32.const.  This was previously being assumed but not checked for and
was causing a failure on big endian machines due to using the wrong
value of then union.

See: https://bugs.llvm.org/show_bug.cgi?id=34487

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

llvm-svn: 312674
2017-09-06 22:05:41 +00:00
..
array-fill.ll [WebAssembly] Use the correct size for MCFillFragment 2017-07-10 18:36:34 +00:00
external-data.ll [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
external-func-address.ll [WebAssembly] Fix types for address taken functions 2017-07-05 20:25:08 +00:00
file-headers.ll
func-address.ll [WebAssembly] Use __stack_pointer global when writing wasm binary 2017-06-16 23:59:10 +00:00
lit.local.cfg
reloc-code.ll [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
reloc-data.ll [WebAssembly] Update relocation names to match spec 2017-09-01 17:32:01 +00:00
sections.ll [WebAssembly] Write initial memory in pages not bytes 2017-04-28 21:12:09 +00:00
stack-ptr.ll [WebAssembly] Use __stack_pointer global when writing wasm binary 2017-06-16 23:59:10 +00:00
unnamed-data.ll [WebAssembly] Only treat imports/exports as symbols when reading relocatable object files 2017-09-06 22:05:41 +00:00
weak-alias.ll [WebAssembly] Support weak defined symbols 2017-07-07 02:01:29 +00:00
weak.ll [WebAssembly] Add data size and alignement to linking section 2017-06-27 20:27:59 +00:00