[all-commits] [llvm/llvm-project] 7e7cfc: [WebAssembly] Use data sections by default

Sam Clegg via All-commits all-commits at lists.llvm.org
Tue Feb 9 11:03:36 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7e7cfce0b688b8b006ce4951e118aab6a5814a64
      https://github.com/llvm/llvm-project/commit/7e7cfce0b688b8b006ce4951e118aab6a5814a64
  Author: Sam Clegg <sbc at chromium.org>
  Date:   2021-02-09 (Tue, 09 Feb 2021)

  Changed paths:
    M llvm/lib/MC/MCParser/WasmAsmParser.cpp
    A llvm/test/MC/WebAssembly/data-section-combined.s

  Log Message:
  -----------
  [WebAssembly] Use data sections by default

This allows data sections that don't start with `.data` to be
used/created.

Without this, clang's `__attribute__((section("foo")))` would
generate assembly that would not parse.

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




More information about the All-commits mailing list