forked from OSchip/llvm-project
[ELF] - Follow up for r303975. NFCi.
Restore bitwise-or order and fix warning (was changed by mistake during resolve of conflicts). llvm-svn: 303976
This commit is contained in:
parent
c1a0364cd6
commit
8684dbaa14
lld/ELF
|
@ -1781,7 +1781,7 @@ void GdbIndexSection::readDwarf(InputSection *Sec) {
|
|||
CuVectors.push_back({});
|
||||
}
|
||||
|
||||
CuVectors[Sym->CuVectorIndex].insert(CuId | (Pair.second << 24));
|
||||
CuVectors[Sym->CuVectorIndex].insert((Pair.second << 24) | (uint32_t)CuId);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue