[all-commits] [llvm/llvm-project] de0d48: [MC, COFF] Register .llvm.call-graph-profile in fin...

Fangrui Song via All-commits all-commits at lists.llvm.org
Sun Jun 23 12:44:53 PDT 2024


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

  Changed paths:
    M llvm/include/llvm/MC/MCWinCOFFStreamer.h
    M llvm/lib/MC/MCWinCOFFStreamer.cpp
    M llvm/lib/MC/WinCOFFObjectWriter.cpp

  Log Message:
  -----------
  [MC,COFF] Register .llvm.call-graph-profile in finalizeImpl

All sections should have been created before MCAssembler::layout so that
every section has an ordinal. Registering the section in
WinCOFFObjectWriter::executePostLayoutBinding is a hack.



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