[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:
George Rimar 2017-05-26 12:16:39 +00:00
parent c1a0364cd6
commit 8684dbaa14
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
}