[PECOFF] Add /dllexport option.
/DLLEXPORT is a command line option to export a symbol. __declspec(dllexport) uses that to make the linker to export DLLExport'ed functions, by adding the option to .drectve section. This patch implements the parser of the command line option. llvm-svn: 197122
Showing
- lld/include/lld/ReaderWriter/PECOFFLinkingContext.h 6 additions, 0 deletionslld/include/lld/ReaderWriter/PECOFFLinkingContext.h
- lld/lib/Driver/WinLinkDriver.cpp 4 additions, 0 deletionslld/lib/Driver/WinLinkDriver.cpp
- lld/lib/Driver/WinLinkOptions.td 1 addition, 0 deletionslld/lib/Driver/WinLinkOptions.td
- lld/unittests/DriverTests/WinLinkDriverTest.cpp 7 additions, 0 deletionslld/unittests/DriverTests/WinLinkDriverTest.cpp
Please register or sign in to comment