mirror of
https://github.com/rui314/mold.git
synced 2024-12-28 02:44:48 +03:00
temporary
This commit is contained in:
parent
8969c68ed0
commit
7ca02031ad
4
main.cc
4
main.cc
@ -206,9 +206,9 @@ static void bin_sections(std::vector<ObjectFile *> &files) {
|
||||
for (ArrayRef<std::vector<InputSection *>> group : groups)
|
||||
for (int i = 0; i < group.size(); i++)
|
||||
sizes[i] += group[i].size();
|
||||
|
||||
for (int i = 0; i < sizes.size(); i++)
|
||||
tbb::parallel_for(0, (int)sizes.size(), [&](int i) {
|
||||
OutputSection::instances[i]->sections.reserve(sizes[i]);
|
||||
});
|
||||
|
||||
for (ArrayRef<std::vector<InputSection *>> group : groups) {
|
||||
for (int i = 0; i < group.size(); i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user