[PATCH] D42345: Make loop counter unsigned in SymbolFilePDB::GetCompileUnitIndex
Raphael Isemann via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Jan 21 22:57:38 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rL323075: Make loop counter unsigned in SymbolFilePDB::GetCompileUnitIndex (authored by teemperor, committed by ).
Herald added a subscriber: llvm-commits.
Changed prior to commit:
https://reviews.llvm.org/D42345?vs=130794&id=130831#toc
Repository:
rL LLVM
https://reviews.llvm.org/D42345
Files:
lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
Index: lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
===================================================================
--- lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
+++ lldb/trunk/source/Plugins/SymbolFile/PDB/SymbolFilePDB.cpp
@@ -211,7 +211,7 @@
if (!results_up)
return;
auto uid = pdb_compiland->getSymIndexId();
- for (int cu_idx = 0; cu_idx < GetNumCompileUnits(); ++cu_idx) {
+ for (uint32_t cu_idx = 0; cu_idx < GetNumCompileUnits(); ++cu_idx) {
auto compiland_up = results_up->getChildAtIndex(cu_idx);
if (!compiland_up)
continue;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42345.130831.patch
Type: text/x-patch
Size: 601 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180122/12e4d7ca/attachment.bin>
More information about the llvm-commits
mailing list