[PATCH] D116542: [OpenMP] Add a flag for embedding a file into the module

Joseph Huber via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jan 28 07:53:47 PST 2022


jhuber6 added inline comments.


================
Comment at: clang/test/Frontend/embed-object.ll:2
+; RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm \
+; RUN:    -fembed-offload-object=%S/Inputs/empty.h,section -x ir %s -o - \
+; RUN:    | FileCheck %s -check-prefix=CHECK
----------------
JonChesterfield wrote:
> I think we need a test case with more than one embedded file, given there's the careful splitting around commas in the implementation
I only split to create a pair now, I can make a test where we pass this flag multiple times.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D116542/new/

https://reviews.llvm.org/D116542



More information about the llvm-commits mailing list