diff options
-rw-r--r-- | lld/ELF/SyntheticSections.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/SyntheticSections.cpp b/lld/ELF/SyntheticSections.cpp index 59fa798ed41..312f0ff87fb 100644 --- a/lld/ELF/SyntheticSections.cpp +++ b/lld/ELF/SyntheticSections.cpp @@ -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); } } |