[PATCH] D152391: [Clang] Allow bitcode linking when the input is LLVM-IR

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 7 20:06:53 PDT 2023


jhuber6 updated this revision to Diff 529490.
jhuber6 added a comment.

Updating, in order to do this starting with bitcode I had to expose a helper
that performs this operation using the options directly rather than through the
`CodeGenModule`. This should keep the existing interfaces intact by shuttling
them through a new internal function while also letting me write this standalone
function that can be used without a `CodeGenModule`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152391

Files:
  clang/include/clang/CodeGen/CodeGenAction.h
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/CGCall.h
  clang/lib/CodeGen/CodeGenAction.cpp
  clang/test/CodeGen/link-bitcode-file.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D152391.529490.patch
Type: text/x-patch
Size: 14112 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230608/8e8cde81/attachment-0001.bin>


More information about the cfe-commits mailing list