[all-commits] [llvm/llvm-project] f796b2: [Mips] Strip \x01 no-mangle prefix from R_MIPS_JAL...

yingopq via All-commits all-commits at lists.llvm.org
Wed Sep 9 02:04:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f796b25647e378a02482ef383f2db45804d8fb72
      https://github.com/llvm/llvm-project/commit/f796b25647e378a02482ef383f2db45804d8fb72
  Author: yingopq <115543042+yingopq at users.noreply.github.com>
  Date:   2026-09-09 (Wed, 09 Sep 2026)

  Changed paths:
    M llvm/lib/Target/Mips/MipsAsmPrinter.cpp
    M llvm/lib/Target/Mips/MipsAsmPrinter.h
    A llvm/test/CodeGen/Mips/jalr-no-mangle.ll

  Log Message:
  -----------
  [Mips] Strip \x01 no-mangle prefix from R_MIPS_JALR symbol name (#219427)

R_MIPS_JALR relocation did not strip the \x01 no-mangle prefix, causing
linker to see two different symbols: my_target_sym and
\x01my_target_sym.

Use Mangler::getNameWithPrefix() to process the symbol name.

Fix #207470.



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