[all-commits] [llvm/llvm-project] 18b67a: MC: Add MCAsmInfo::printExpr to replace MCExpr::print

Fangrui Song via All-commits all-commits at lists.llvm.org
Fri Jun 13 08:58:42 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 18b67a7a102c0052e5ae0e76ef1297902ffeb22d
      https://github.com/llvm/llvm-project/commit/18b67a7a102c0052e5ae0e76ef1297902ffeb22d
  Author: Fangrui Song <i at maskray.me>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

  Changed paths:
    M llvm/include/llvm/MC/MCAsmInfo.h
    M llvm/lib/MC/MCAsmInfo.cpp
    M llvm/lib/MC/MCAsmStreamer.cpp
    M llvm/lib/MC/MCStreamer.cpp

  Log Message:
  -----------
  MC: Add MCAsmInfo::printExpr to replace MCExpr::print

* Make relocation specifier code closer (MCAsmInfo defines specifiers).
* MCExpr::print has an optional MCAsmInfo argument, which is
  error-prone when omitted.
* Enable MCSpecifierExpr



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