[all-commits] [llvm/llvm-project] 90a63f: [MC] Replace MCSection*::getName() with MCSection:...

Fangrui Song via All-commits all-commits at lists.llvm.org
Wed Apr 15 18:35:57 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 90a63f6d2d6b8144f0c7cd99232fc27ed10c41fe
      https://github.com/llvm/llvm-project/commit/90a63f6d2d6b8144f0c7cd99232fc27ed10c41fe
  Author: Fangrui Song <maskray at google.com>
  Date:   2020-04-15 (Wed, 15 Apr 2020)

  Changed paths:
    M llvm/include/llvm/MC/MCSection.h
    M llvm/include/llvm/MC/MCSectionCOFF.h
    M llvm/include/llvm/MC/MCSectionELF.h
    M llvm/include/llvm/MC/MCSectionMachO.h
    M llvm/include/llvm/MC/MCSectionWasm.h
    M llvm/include/llvm/MC/MCSectionXCOFF.h
    M llvm/lib/MC/MCAssembler.cpp
    M llvm/lib/MC/MCContext.cpp
    M llvm/lib/MC/MCSection.cpp
    M llvm/lib/MC/MCSectionCOFF.cpp
    M llvm/lib/MC/MCSectionELF.cpp
    M llvm/lib/MC/MCSectionMachO.cpp
    M llvm/lib/MC/MCSectionWasm.cpp

  Log Message:
  -----------
  [MC] Replace MCSection*::getName() with MCSection::getName(). NFC

I plan to use MCSection::getName() in D78138. Having the function in the base class is also convenient for debugging.

Reviewed By: rnk

Differential Revision: https://reviews.llvm.org/D78251




More information about the All-commits mailing list