[all-commits] [llvm/llvm-project] 260c5d: [OpenMP] Add better testing for the linker wrapper

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Apr 19 15:37:25 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 260c5df2d52b67751f9ed33fde1b453c53f44f88
      https://github.com/llvm/llvm-project/commit/260c5df2d52b67751f9ed33fde1b453c53f44f88
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-04-19 (Tue, 19 Apr 2022)

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

  Log Message:
  -----------
  [OpenMP] Add better testing for the linker wrapper

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.

Reviewed By: JonChesterfield

Differential Revision: https://reviews.llvm.org/D124039




More information about the All-commits mailing list