[PATCH] D124039: [OpenMP] Add better testing for the linker wrapper

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 19 13:31:39 PDT 2022


jhuber6 created this revision.
jhuber6 added reviewers: yaxunl, JonChesterfield, jdoerfert, tianshilei1992.
Herald added a subscriber: guansong.
Herald added a project: All.
jhuber6 requested review of this revision.
Herald added subscribers: cfe-commits, sstefan1.
Herald added a project: clang.

The linker wrapper is used to perform linking and wrapping of embedded
device object files. Currently its internals are not able to be tested
easily. This patch adds the `--dry-run` and `--print-wrapped-module`
options to investigate the link jobs that will be run along with the
wrapped code that will be created to register the binaries.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124039

Files:
  clang/test/Driver/Inputs/dummy-bc.bc
  clang/test/Driver/Inputs/dummy-elf.o
  clang/test/Driver/linker-wrapper-image.c
  clang/test/Driver/linker-wrapper.c
  clang/test/lit.cfg.py
  clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124039.423722.patch
Type: text/x-patch
Size: 12619 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220419/735f2d98/attachment-0001.bin>


More information about the cfe-commits mailing list