llvm-project/lld/lib
Rui Ueyama d31cf6065f [PECOFF] Fix a bug in /export option handler.
/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
2014-12-03 04:34:20 +00:00
..
Config Add support to print version. 2014-10-08 03:47:51 +00:00
Core [Core] Remove function to not override RoundTripPasses. 2014-12-01 20:28:54 +00:00
Driver [Core] Add flag to check if RoundTripPasses need to be run. 2014-12-01 01:04:11 +00:00
Passes [mach-o] Add support for -order_file option 2014-11-07 21:01:21 +00:00
ReaderWriter [PECOFF] Fix a bug in /export option handler. 2014-12-03 04:34:20 +00:00
CMakeLists.txt Revert "Add support library." 2014-11-11 00:40:36 +00:00
Makefile Revert "Add support library." 2014-11-11 00:40:36 +00:00