[all-commits] [llvm/llvm-project] 7cab38: [lld/elf] support quote usage in section names

royger via All-commits all-commits at lists.llvm.org
Wed Jul 5 14:56:29 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cab385a8f4af4ad9bae712bbd33817ff0cdf5d0
      https://github.com/llvm/llvm-project/commit/7cab385a8f4af4ad9bae712bbd33817ff0cdf5d0
  Author: Roger Pau Monne <roger.pau at citrix.com>
  Date:   2023-07-05 (Wed, 05 Jul 2023)

  Changed paths:
    M lld/ELF/ScriptParser.cpp
    A lld/test/ELF/linkerscript/section-quotes.test

  Log Message:
  -----------
  [lld/elf] support quote usage in section names

Section names used in ELF linker scripts can be quoted, but such
quotes must not be propagated to the binary ELF section names.  As
such strip the quotes from the section names when processing them, and
also strip them from linker script functions that take section names
as parameters.

Reviewed By: MaskRay

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




More information about the All-commits mailing list