[lld] [CGData][lld-macho] Merge CG Data by LLD (PR #112674)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 15 06:02:11 PST 2024
================
@@ -1326,7 +1326,8 @@ static void codegenDataGenerate() {
TimeTraceScope timeScope("Generating codegen data");
OutlinedHashTreeRecord globalOutlineRecord;
- for (ConcatInputSection *isec : inputSections)
+ StableFunctionMapRecord globalMergeRecord;
+ for (ConcatInputSection *isec : inputSections) {
if (isec->getSegName() == segment_names::data &&
----------------
alx32 wrote:
Can we merge the `if(isec->getSegName() == segment_names::data)` check here and below on 1341 ?
https://github.com/llvm/llvm-project/pull/112674
More information about the llvm-commits
mailing list