[all-commits] [llvm/llvm-project] fbcfbd: [NFC][ELF] Fix overzealous find/replace affecting ...

Jessica Clarke via All-commits all-commits at lists.llvm.org
Mon Feb 9 06:37:15 PST 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fbcfbd9d3a33d14430250ad056c7d726db41673a
      https://github.com/llvm/llvm-project/commit/fbcfbd9d3a33d14430250ad056c7d726db41673a
  Author: Jessica Clarke <jrtc27 at jrtc27.com>
  Date:   2026-02-09 (Mon, 09 Feb 2026)

  Changed paths:
    M lld/ELF/Relocations.cpp

  Log Message:
  -----------
  [NFC][ELF] Fix overzealous find/replace affecting comments

Commit a94060ca0c87 ("[ELF] Pass Ctx & to Relocations") swapped the
InputSectionBase &c argument for an InputSectionBase *sec member, and so
"c." was replaced with "sec->". However, this must have done in such a
way that "Local-Exec." was transformed to "Local-Exesec->" and
"RISCV::relocateAlloc." to "RISCV::relocateAllosec->", i.e. without the
use of something like clangd, and without appropriate word boundaries in
a regex.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list