[PATCH] D85408: Let -basic-block-sections=labels emit basicblock metadata in a new .bb_addr_map section, instead of emitting special unary-encoded symbols.

Rahman Lavaee via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 19:08:18 PDT 2020


rahmanl updated this revision to Diff 288158.
rahmanl marked 4 inline comments as done.
rahmanl added a comment.

Address Snehasish's comments.

- Move getBBAddrMetadata to AsmPrinter as a static function in AsmPrinter
- Remove unnecessary IR instructions in basic-block-sections-labels.ll


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85408/new/

https://reviews.llvm.org/D85408

Files:
  clang/docs/UsersManual.rst
  clang/test/CodeGen/basic-block-sections.c
  llvm/include/llvm/CodeGen/AsmPrinter.h
  llvm/include/llvm/CodeGen/MachineFunction.h
  llvm/include/llvm/MC/MCObjectFileInfo.h
  llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp
  llvm/lib/CodeGen/BasicBlockSections.cpp
  llvm/lib/CodeGen/MIRParser/MIRParser.cpp
  llvm/lib/CodeGen/MachineBasicBlock.cpp
  llvm/lib/CodeGen/MachineFunction.cpp
  llvm/lib/MC/MCObjectFileInfo.cpp
  llvm/test/CodeGen/X86/basic-block-sections-labels-functions-sections.ll
  llvm/test/CodeGen/X86/basic-block-sections-labels.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D85408.288158.patch
Type: text/x-patch
Size: 23028 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200827/91617caa/attachment-0001.bin>


More information about the cfe-commits mailing list