llvm-project/llvm/test/MC/WebAssembly
Derek Schuff 8d396acac3 [WebAssembly] Support COMDAT sections in assembly syntax
This CL changes the asm syntax for section flags, making them more like ELF
(previously "passive" was the only option). Now we also allow "G" to designate
COMDAT group sections. In these sections we set the appropriate comdat flag on
function symbols, and also avoid auto-creating a new section for them.

This also adds asm-based tests for the changes D92691 to go along with
the direct-to-object tests.

Differential Revision: https://reviews.llvm.org/D92952
This is a reland of rG4564553b8d8a with a fix to the lit pipeline in
llvm/test/MC/WebAssembly/comdat.ll
2020-12-10 16:43:59 -08:00
..
alias-offset.s [WebAssembly][MC] Fix computation of relative symbol offset 2020-09-22 00:53:23 -04:00
alias.s [WebAssembly] MC: Fix for data aliases with offsets (getelementptr) 2020-06-17 16:25:50 -07:00
annotations.s
array-fill.ll
assembler-binary.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
atomics-encodings.s [WebAssembly] Rename atomic.notify and *.atomic.wait 2020-11-13 12:04:48 -08:00
bad-fixup-expr.s
basic-assembly-errors.s
basic-assembly.s [WebAssembly] Rename atomic.notify and *.atomic.wait 2020-11-13 12:04:48 -08:00
blockaddress.ll
bss.ll
bulk-memory-encodings.s [WebAssembly] Added 64-bit memory.grow/size/copy/fill 2020-07-06 12:49:50 -07:00
comdat-sections.ll [WebAssembly] Support COMDAT sections in assembly syntax 2020-12-10 16:43:59 -08:00
comdat-sections.s [WebAssembly] Support COMDAT sections in assembly syntax 2020-12-10 16:43:59 -08:00
comdat.ll [WebAssembly] Support COMDAT sections in assembly syntax 2020-12-10 16:43:59 -08:00
compile-twice.ll
custom-code-section.ll
custom-sections.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
data-section.s [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
data-symbol-in-text-section.ll
debug-info.ll [WebAssembly] Fix parsing of linking section for named global imports 2020-11-17 08:14:29 -08:00
debug-info64.ll [WebAssembly] Fix parsing of linking section for named global imports 2020-11-17 08:14:29 -08:00
debug-localvar.ll llvm-dwarfdump: Dump address forms in their encoded length rather than always in 64 bits 2020-10-04 15:48:57 -07:00
dwarfdump.ll llvm-dwarfdump: Dump address forms in their encoded length rather than always in 64 bits 2020-10-04 15:48:57 -07:00
dwarfdump64.ll [WebAssembly] Added R_WASM_FUNCTION_OFFSET_I64 for use with DWARF DW_AT_low_pc 2020-11-13 09:32:31 -08:00
event-section.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
explicit-sections.ll
export-name.s
external-data.ll Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
external-func-address.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
externref.s [WebAssembly] Add support for externalref to MC and wasm-ld 2020-06-22 15:57:24 -07:00
file-headers.ll [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
func-address.ll [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
function-alias.ll [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
function-sections.ll
global-ctor-dtor.ll [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
globals.s [WebAssembly] Add assembly syntax for mutable globals 2020-09-11 11:11:02 -07:00
import-module.s
libcall.ll Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
lit.local.cfg
missing-features.s [WebAssembly][AsmParser] Name missing features in error message 2020-08-11 17:26:14 -07:00
no-dead-strip.ll [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
null-output.s
objdump.s
offset.ll
reference-types.s [WebAssembly] Support select and block for reference types 2020-12-01 19:16:57 -08:00
reloc-code.ll [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
reloc-data.ll [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
reloc-pic.s [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
sections.ll [llvm-readobj] Update tests because of changes in llvm-readobj behavior 2020-07-20 10:39:04 +01:00
simd-encodings.s [WebAssembly] Prototype i64x2.bitmask 2020-10-30 17:23:30 -07:00
stack-ptr.ll [WebAssembly] Adding 64-bit versions of __stack_pointer and other globals 2020-06-25 15:52:44 -07:00
tables.s [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
tail-call-encodings.s [NFC] Fix typo in triples from unkown to unknown 2020-07-02 16:21:54 +08:00
tls.s Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
type-index.s [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
types.ll
unnamed-data.ll Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
visibility.ll
wasm64.s [MC][WebAssembly] Only emit indirect function table import if needed 2020-11-25 08:38:43 -08:00
weak-alias.s Reland "[lib/Support/YAMLTraits] - Don't print leading zeroes when dumping Hex8/Hex16/Hex32 types." (https://reviews.llvm.org/D90930). 2020-11-18 13:08:46 +03:00
weak.s