[all-commits] [llvm/llvm-project] 305006: [AsmPrinter] Link .section_sizes to the correct se...

Sergei Barannikov via All-commits all-commits at lists.llvm.org
Mon Apr 14 10:05:13 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 305006179341d8f657b89fdc7d76502f9bc5f0aa
      https://github.com/llvm/llvm-project/commit/305006179341d8f657b89fdc7d76502f9bc5f0aa
  Author: Sergei Barannikov <barannikov88 at gmail.com>
  Date:   2025-04-14 (Mon, 14 Apr 2025)

  Changed paths:
    M llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
    A llvm/test/CodeGen/AArch64/stack-size-section.ll
    M llvm/test/CodeGen/SystemZ/stack-size-section.ll

  Log Message:
  -----------
  [AsmPrinter] Link .section_sizes to the correct section (#135583)

AsmPrinter may switch the current section when e.g., emitting a jump
table for a switch. `.stack_sizes` should still be linked to the
function section. If the section is wrong, readelf emits a warning
"relocation symbol is not in the expected section".



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