PikachuHy
PikachuHy
this PR implement the support C++20 Modules in bazel. the design doc: https://github.com/bazelbuild/proposals/pull/354 the discussion: https://github.com/bazelbuild/bazel/discussions/19939 the demo: https://github.com/PikachuHyA/async_simple the extra tests: https://github.com/PikachuHyA/bazel_cxx20_module_test see https://github.com/bazelbuild/bazel/issues/4005
## Summary I have splited the XXL PR [#19940](https://github.com/bazelbuild/bazel/pull/19940) into several smaller patches. This is the third patch to support C++20 Modules, which adds the `deps-scanner` tool and updates toolchains....
I split the XXL PR https://github.com/bazelbuild/bazel/pull/19940 into several small patches. This is the second patch of Support C++20 Modules, I add C++20 related tools ## Overview This patch contains two...
I split the XXL PR https://github.com/bazelbuild/bazel/pull/19940 into several small patches. This is the first patch of Support C++20 Modules, I add `module_interfaces` attr only example - foo.cppm ``` // foo.cppm...
I split the XXL PR https://github.com/bazelbuild/bazel/pull/19940 into several small patches. This is the fourth patch of Support C++20 Modules, which supports one phase compilation. ## Changes of build graph First,...
I split the XXL PR https://github.com/bazelbuild/bazel/pull/19940 into several small patches. This is the fifth patch of Support C++20 Modules, I construct the build graph of compile with C++20 Modules. Firstly,...
This patch refactors the C++ compilation actions in `CcCompilationHelper`. It introduces a helper method `createSourceActionHelper` to streamline the creation of source actions and reduces duplicated code related to PIC and...
test case from `clang/test/CIR/CodeGen/libc.c` ``` void *memcpy(void *, const void *, unsigned long); void testMemcpy(void *src, const void *dst, unsigned long size) { memcpy(dst, src, size); } ``` test with...
see also https://reviews.llvm.org/D41394
This patch introduces support for TBAA, following the structure of`clang/lib/CodeGen/CodeGenTBAA.h`. The key function implemented is `CIRGenModule::decorateOperationWithTBAA`, which works similarly to `CodeGenModule::DecorateInstructionWithTBAA`. Note: Support for `vtable pointer` and `tbaa.struct` is not...