diff options
author | Kyungwoo Lee <kyulee@meta.com> | 2024-11-15 17:24:35 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-15 17:24:35 -0800 |
commit | ab27253ad395881c0798ac5c8efc2f6fc2922399 (patch) | |
tree | 5f0ca64348c3ad551fa07c8d0caa6d2140792b57 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | 6a0905d11ede27f2ac52338dc9d4bcd5c6e8a2f5 (diff) | |
download | llvm-ab27253ad395881c0798ac5c8efc2f6fc2922399.zip llvm-ab27253ad395881c0798ac5c8efc2f6fc2922399.tar.gz llvm-ab27253ad395881c0798ac5c8efc2f6fc2922399.tar.bz2 |
[CGData][lld-macho] Merge CG Data by LLD (#112674)
LLD now processes raw CG data for stable functions, similar to how it
handles raw CG data for the outliner's hash tree. This data is encoded
in the custom section (`__llvm_merge`) within object files. LLD merges
this information into the indexed CG data file specified by the
`-codegen-data-generate-path={path}` option. For the linker that does
not support this feature, we could use `llvm-cgdata` tool --
https://github.com/llvm/llvm-project/blob/main/llvm/docs/CommandGuide/llvm-cgdata.rst.
Depends on #115750.
This is a patch for
https://discourse.llvm.org/t/rfc-global-function-merging/82608.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions