[PATCH,V4 2/2] CTF: multi-CU and archive support
Wei-min Pan
weimin.pan@oracle.com
Mon May 10 03:12:55 GMT 2021
On 5/8/2021 1:13 PM, Tom Tromey wrote:
>>> + for (int i = 0; i < arch_cnt; ++i)
>>> + {
>>> + parent_pst->dependencies[i]
>>> + = pcu.imported_symtabs.at (i);
>>> + }
> I forgot to mention -- don't use .at(), just use [] instead.
> This loop could probably just be a memcpy or a std::copy, though an
> explicit loop is also fine.
OK, thanks.
>
> Tom
More information about the Gdb-patches
mailing list