diff options
| author | George Rimar <grimar@accesssoftek.com> | 2017-05-26 12:16:39 +0000 |
|---|---|---|
| committer | George Rimar <grimar@accesssoftek.com> | 2017-05-26 12:16:39 +0000 |
| commit | 8684dbaa14401fab9d835a41c83605c2c8a58ccc (patch) | |
| tree | af57f6e6242e9b7a514cd874ff68e6ce1d98a182 | |
| parent | c1a0364cd6d35e321f01cae8960a87802fb9275c (diff) | |
| download | bcm5719-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.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); } } |

