llvm-project/utils/bazel/llvm-project-overlay/llvm
Fangrui Song 85dfe19b36 [ModuleUtils] Move EmbedBufferInModule to LLVMTransformsUtils
D116542 adds EmbedBufferInModule which introduces a layer violation
(https://llvm.org/docs/CodingStandards.html#library-layering).
See 2d5f857a1e for detail.

EmbedBufferInModule does not use BitcodeWriter functionality and should be moved
LLVMTransformsUtils. While here, change the function case to the prevailing
convention.

It seems that EmbedBufferInModule just follows the steps of
EmbedBitcodeInModule. EmbedBitcodeInModule calls WriteBitcodeToFile but has IR
update operations which ideally should be refactored to another library.

Reviewed By: jhuber6

Differential Revision: https://reviews.llvm.org/D118666
2022-01-31 16:33:57 -08:00
..
include/llvm/Config Update Bug report URL to Github Issues 2022-01-06 17:33:25 +08:00
unittests [bazel] Port debuginfod rules 2021-12-14 13:14:30 +01:00
BUILD.bazel [ModuleUtils] Move EmbedBufferInModule to LLVMTransformsUtils 2022-01-31 16:33:57 -08:00
binary_alias.bzl
cc_plugin_library.bzl [Bazel] Get `//clang` building on Windows with clang-cl. 2021-11-02 02:54:16 +00:00
config.bzl [Support] Revert posix_fallocate in resize_file 2021-12-20 11:16:03 -08:00
enum_targets_gen.bzl
tblgen.bzl [Bazel] Remove explicit relative_to_caller_repository 2021-07-20 16:42:31 -07:00
template_rule.bzl