aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/MetadataLoader.cpp
diff options
context:
space:
mode:
authorYaxun (Sam) Liu <yaxun.liu@amd.com>2020-12-09 10:35:12 -0500
committerYaxun (Sam) Liu <yaxun.liu@amd.com>2021-01-06 16:23:01 -0500
commit90bf3ecef4bb1e214a718aebcee730c24199c8ba (patch)
tree7650812f4d0d77bc44c5a9bcf5c89214bfb7093c /llvm/lib/Bitcode/Reader/MetadataLoader.cpp
parentf6f6f6375d1a4bced8a6e79a78726ab32b8dd879 (diff)
downloadllvm-90bf3ecef4bb1e214a718aebcee730c24199c8ba.zip
llvm-90bf3ecef4bb1e214a718aebcee730c24199c8ba.tar.gz
llvm-90bf3ecef4bb1e214a718aebcee730c24199c8ba.tar.bz2
[clang-offload-bundler] Add option -list
clang-offload-bundler is not only used by clang driver to bundle/unbundle files for offloading toolchains, but also used by out of tree tools to unbundle fat binaries generated by clang. It is important to be able to list the bundle IDs in a bundled file so that the bundles can be extracted. This patch adds an option -list to list bundle ID's in a bundled file. Each bundle ID is separated by new line. If the file is not a bundled file nothing is output and returns 0. Differential Revision: https://reviews.llvm.org/D92954
Diffstat (limited to 'llvm/lib/Bitcode/Reader/MetadataLoader.cpp')
0 files changed, 0 insertions, 0 deletions