[PATCH] D95209: [CodeGen] Port Machine Function Splitter from ELF to COFF

TaoPan via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 22 00:16:21 PST 2021


TaoPan created this revision.
Herald added subscribers: pengfei, hiraditya.
TaoPan requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Unlike ELF that the name of MCSymbol is combined section name and symbol
name, the name of MCSymbol of COFF doesn't include section name, for
distinguishing with non-split MCSymbol, add BBSectionsColdTextPrefix to
name of MCSymbol.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D95209

Files:
  llvm/include/llvm/CodeGen/TargetLoweringObjectFileImpl.h
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/CodeGen/TargetLoweringObjectFileImpl.cpp
  llvm/test/CodeGen/X86/basic-block-sections-cold.ll
  llvm/test/CodeGen/X86/machine-function-splitter.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D95209.318438.patch
Type: text/x-patch
Size: 6487 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210122/a570a9fe/attachment.bin>


More information about the llvm-commits mailing list