[PATCH] D153906: [clang] Allow disassembly of multi-module bitcode files

Matthew Voss via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 27 11:40:12 PDT 2023


ormris created this revision.
ormris added reviewers: efriedma, rjmccall, MaskRay, aaron.ballman.
Herald added subscribers: steven_wu, hiraditya.
Herald added a project: All.
ormris requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Clang currently exits with an error message if asked to disassemble a
multi-module bitcode file. This might be confusing to some who are not
familiar with bitcode formats. In addition, multi-module bitcode files
are reasonably common, since they enable desired features. This patch
makes clang's behavior consistent for all common bitcode files.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D153906

Files:
  clang/include/clang/CodeGen/CodeGenAction.h
  clang/lib/CodeGen/CodeGenAction.cpp
  clang/test/Frontend/split-lto-ir-support.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D153906.535083.patch
Type: text/x-patch
Size: 12546 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230627/f7dfa3d1/attachment.bin>


More information about the cfe-commits mailing list