[all-commits] [llvm/llvm-project] 626eef: [MC] Optimize getCurrentSectionOnly using CurFrag ...

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jun 27 22:51:53 PDT 2024


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

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

  Log Message:
  -----------
  [MC] Optimize getCurrentSectionOnly using CurFrag and make it non-nullable

Follow-up to e48c4011ca80385573f1b92793c75dc98abb228f ("[MC] Cache current fragment in MCStreamer").

Prerequisite: a few commits that removed nullable getCurrentSectionOnly calls.



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