summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Rimar <grimar@accesssoftek.com>2017-05-26 12:16:39 +0000
committerGeorge Rimar <grimar@accesssoftek.com>2017-05-26 12:16:39 +0000
commit8684dbaa14401fab9d835a41c83605c2c8a58ccc (patch)
treeaf57f6e6242e9b7a514cd874ff68e6ce1d98a182
parentc1a0364cd6d35e321f01cae8960a87802fb9275c (diff)
downloadbcm5719-llvm-8684dbaa14401fab9d835a41c83605c2c8a58ccc.tar.gz
bcm5719-llvm-8684dbaa14401fab9d835a41c83605c2c8a58ccc.zip
[ELF] - Follow up for r303975. NFCi.
Restore bitwise-or order and fix warning (was changed by mistake during resolve of conflicts). llvm-svn: 303976
-rw-r--r--lld/ELF/SyntheticSections.cpp2
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);
}
}
OpenPOWER on IntegriCloud