[llvm-commits] [patch] Add a MapVector class

Rafael EspĂ­ndola rafael.espindola at gmail.com
Wed Aug 29 12:43:14 PDT 2012


The attached patch adds a MapVector class to ADT. It behaves mostly
like a DenseMap (including the iteration order), but provides a
getValues method that can be used to iterate the values in a
deterministic order.

This will be used to fix a non deterministic output order in clang
when two virtual functions are marked used because we output a vtable.

Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 4465 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120829/8fa4b978/attachment.obj>


More information about the llvm-commits mailing list