forked from OSchip/llvm-project
d31cf6065f
/export option can be given multiple times to specify multiple symbols to be exported. /export accepts both decorated and undecorated name. If you give both undecorated and decorated name of the same symbol to /export, they are resolved to the same symbol. In this case, we need to de-duplicate the exported names, so that we don't have duplicated items in the export symbol table in a DLL. We remove duplicate items from a vector. The bug was there. Because we had pointers pointing to elements of the vector, after an item is removed, they would point wrong elements. This patch is to remove these pointers. Added a test for that case. llvm-svn: 223200 |
||
---|---|---|
.. | ||
Driver | ||
LinkerScript | ||
Unit | ||
core | ||
darwin | ||
elf | ||
mach-o | ||
pecoff | ||
CMakeLists.txt | ||
Makefile | ||
lit.cfg | ||
lit.site.cfg.in |