[all-commits] [llvm/llvm-project] 0c454d: [MC] Make changeSection private

Fangrui Song via All-commits all-commits at lists.llvm.org
Thu Jun 27 21:02:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0c454df448c1edd1ce65573b8343721636cc541b
      https://github.com/llvm/llvm-project/commit/0c454df448c1edd1ce65573b8343721636cc541b
  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/Target/Mips/MCTargetDesc/MipsTargetStreamer.cpp

  Log Message:
  -----------
  [MC] Make changeSection private

Using changeSection externally would cause `CurFrag` to be out of sync
of `SectionStack`. Remove some uses from MipsTargetStreamer.cpp.



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