[PATCH] D96165: [WebAssembly] ensure .functype applies to last non-local label in assembler

Wouter van Oortmerssen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 5 11:13:39 PST 2021


aardappel created this revision.
aardappel added reviewers: sbc100, dschuff.
Herald added subscribers: ecnelises, sunfish, hiraditya, jgravelle-google.
aardappel requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

LLVM may emit asm with a local label in-between.
Since we want to ensure .functype only applies to the last non-local label, that means that .functype on local labels now isn't allowed anymore.


https://reviews.llvm.org/D96165

Files:
  lld/test/wasm/command-exports.s
  llvm/lib/Target/WebAssembly/AsmParser/WebAssemblyAsmParser.cpp
  llvm/test/MC/WebAssembly/basic-assembly.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96165.321833.patch
Type: text/x-patch
Size: 4642 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210205/a64ac5f0/attachment.bin>


More information about the llvm-commits mailing list