[PATCH] D121005: [objcopy][NFC] Move NameOrPattern::create() into CommonConfig.h

Alexey Lapshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 4 09:06:55 PST 2022


avl created this revision.
avl added reviewers: jhenderson, MaskRay.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a reviewer: rupprecht.
Herald added a subscriber: abrachet.
Herald added a project: All.
avl requested review of this revision.
Herald added subscribers: llvm-commits, aheejin.
Herald added a project: LLVM.

While moving objcopy into separate library(D88827 <https://reviews.llvm.org/D88827>), NameOrPattern::create()
was mistakenly placed into ObjcopyOptions.cpp. This patch moves
the NameOrPattern::create() into CommonConfig.h. Additionally it adds
test for using NameOrPattern.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D121005

Files:
  llvm/include/llvm/ObjCopy/CommonConfig.h
  llvm/tools/llvm-objcopy/ObjcopyOptions.cpp
  llvm/unittests/ObjCopy/ObjCopyTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D121005.413035.patch
Type: text/x-patch
Size: 8585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220304/efb47963/attachment.bin>


More information about the llvm-commits mailing list