[PATCH] D75351: [X86] Move the function getOrCreateBoundaryAlignFragment

Kan Shengchen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 28 06:51:08 PST 2020


skan created this revision.
skan added reviewers: annita.zhang, reames, MaskRay, craig.topper, LuoYuanke, jyknight.
Herald added a project: LLVM.

`MCObjectStreamer` is more suitable to create fragments than `X86AsmBackend`, for example, the function `getOrCreateDataFragment` is defined in `MCObjectStreamer`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D75351

Files:
  llvm/include/llvm/MC/MCFragment.h
  llvm/include/llvm/MC/MCObjectStreamer.h
  llvm/lib/MC/MCObjectStreamer.cpp
  llvm/lib/Target/X86/MCTargetDesc/X86AsmBackend.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D75351.247254.patch
Type: text/x-patch
Size: 4141 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200228/790bd7f0/attachment-0001.bin>


More information about the llvm-commits mailing list