llvm-project/llvm/test/MC
Wouter van Oortmerssen de28b5d17f [WebAssembly] Parsing missing directives to produce valid .o
Summary:
The assembler was able to assemble and then dump back to .s, but
was failing to parse certain directives necessary for valid .o
output:
- .type directives are now recognized to distinguish function symbols
  and others.
- .size is now parsed to provide function size.
- .globaltype (introduced in https://reviews.llvm.org/D54012) is now
  recognized to ensure symbols like __stack_pointer have a proper type
  set for both .s and .o output.

Also added tests for the above.

Reviewers: sbc100, dschuff

Subscribers: jgravelle-google, aheejin, dexonsmith, kristina, llvm-commits, sunfish

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

llvm-svn: 346047
2018-11-02 22:04:33 +00:00
..
AArch64 [FIX][AArch64] Add support for UDF instruction 2018-10-30 11:39:33 +00:00
AMDGPU [AMDGPU] support image load/store a16 2018-10-31 10:34:48 +00:00
ARM [ARM] Emmit data symbol for constant pool data 2018-10-02 14:55:48 +00:00
AVR [AVR] Redefine the 'SBR' instruction as an alias 2018-09-01 12:22:54 +00:00
AsmParser [debuginfo] generate debug info with asm+.file 2018-08-28 16:23:39 +00:00
BPF bpf: New disassembler testcases for 32-bit subregister support 2018-02-23 23:49:35 +00:00
COFF [COFF] [X86] Don't use llvm_unreachable for unsupported relocation types 2018-10-04 20:43:38 +00:00
Disassembler [FIX][AArch64] Add support for UDF instruction 2018-10-30 13:59:21 +00:00
ELF [lib/MC] - Set SHF_EXCLUDE flag for .dwo sections. 2018-09-22 07:36:20 +00:00
Hexagon [Hexagon] Remove support for V4 2018-10-19 17:31:11 +00:00
Lanai
MachO [MC/Dwarf] Unclamp DWARF linetables format on Darwin. 2018-09-13 13:13:50 +00:00
Mips [mips] Fix FDE/CFI encoding in case of N32 ABI 2018-10-09 11:29:51 +00:00
PowerPC [MC] Avoid inlining constant symbols with variants. 2018-09-17 20:34:26 +00:00
RISCV [RISCV] Fix disassembling of fence instruction with invalid field 2018-10-11 22:49:13 +00:00
Sparc [Sparc] Add unimp alias 2018-09-27 12:34:53 +00:00
SystemZ [SystemZ] Implement SystemZOperand::print() 2018-10-26 00:36:00 +00:00
WebAssembly [WebAssembly] Parsing missing directives to produce valid .o 2018-11-02 22:04:33 +00:00
X86 [MC] Separate masm integer literal lexer support from inline asm 2018-10-24 20:23:57 +00:00