[all-commits] [llvm/llvm-project] b90a92: MCExpr: Remove unused SectionAddrMap workaround

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Apr 6 13:15:56 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b90a92687f399df5afe3e1a2493b0d9c6295ac8c
      https://github.com/llvm/llvm-project/commit/b90a92687f399df5afe3e1a2493b0d9c6295ac8c
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-04-06 (Sun, 06 Apr 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCExpr.h
    M llvm/include/llvm/MC/MCMachObjectWriter.h
    M llvm/lib/MC/MCExpr.cpp

  Log Message:
  -----------
  MCExpr: Remove unused SectionAddrMap workaround

Mach-O's ARM and X86 writers use MCExpr's `SectionAddrMap *Addrs`
argument to compute label differences, which was a bit of a hack.
The hack has been cleaned up by commit
1b7759de8e6979dda2d949b1ba1c742922e5c366.



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