[all-commits] [llvm/llvm-project] e48c40: [MC] Cache current fragment in MCStreamer

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jun 27 19:44:59 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e48c4011ca80385573f1b92793c75dc98abb228f
      https://github.com/llvm/llvm-project/commit/e48c4011ca80385573f1b92793c75dc98abb228f
  Author: Fangrui Song <i at maskray.me>
  Date:   2024-06-27 (Thu, 27 Jun 2024)

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

  Log Message:
  -----------
  [MC] Cache current fragment in MCStreamer

This eliminates indirection through `getCurrentSectionOnly()->curFragList()->Tail`.



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