about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-05-11 15:49:30 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-05-19 10:53:07 -0700
commitb538189ba0abb77658c7b082d2d541daaaa7f80a (patch)
tree10bfbb144628df7710c2c196000818fcf01cabc8 /src/rustllvm/RustWrapper.cpp
parentce8b317558a83021b7ea0f40c5719995e234da03 (diff)
downloadrust-b538189ba0abb77658c7b082d2d541daaaa7f80a.tar.gz
rust-b538189ba0abb77658c7b082d2d541daaaa7f80a.zip
mk: Generate a .def file for rustc_llvm on MSVC
Windows needs explicit exports of functions from DLLs but LLVM does not mention
any of its symbols as being export-able from a DLL. The compiler, however,
relies on being able to use LLVM symbols across DLL boundaries so we need to
force many of LLVM's symbols to be exported from `rustc_llvm.dll`. This commit
adds support for generation of a `rustc_llvm.def` file which is passed along to
the linker when generating `rustc_llvm.dll` which should keep all these symbols
exportable and usable.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions