[PATCH] D129303: [clang-offload-bundler] Library-ize ClangOffloadBundler (2/4)
Jacob Lambert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jul 7 09:19:07 PDT 2022
lamb-j created this revision.
lamb-j added reviewers: kzhuravl, scott.linder, yaxunl.
Herald added a reviewer: alexander-shaposhnikov.
Herald added a project: All.
lamb-j requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Lifting the core functionalities of the clang-offload-bundler into a
user-facing library/API.
This patch (2/4) introduces a Config class that locally stores the
previously global cl::opt options and arrays. This localization
will allow users to call the APIs in a multi-threaded context. This
patch also introduces an OffloadBundler class to encapsulate the
top-level API functions.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129303
Files:
clang/tools/clang-offload-bundler/ClangOffloadBundler.cpp
clang/tools/clang-offload-bundler/OffloadBundler.cpp
clang/tools/clang-offload-bundler/OffloadBundler.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129303.442948.patch
Type: text/x-patch
Size: 29665 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220707/f7133a2e/attachment-0001.bin>
More information about the cfe-commits
mailing list