summaryrefslogtreecommitdiffstats
path: root/clang/lib/Serialization/ModuleManager.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-05-04 00:03:48 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-05-04 00:03:48 +0000
commit82b69fa1058706a31500fe12b05b9c26c6b1899c (patch)
tree44d26430fd5911c556de7183b245c9ca7b13fb11 /clang/lib/Serialization/ModuleManager.cpp
parent75e68cbd1231a2a32146efd45becfb50cd472a93 (diff)
downloadbcm5719-llvm-82b69fa1058706a31500fe12b05b9c26c6b1899c.tar.gz
bcm5719-llvm-82b69fa1058706a31500fe12b05b9c26c6b1899c.zip
X86: repair export compatibility with MinGW/cygwin
Both MinGW and cygwin (i686) construct export directives without the global leader prefix. This is mostly due to the fact that they use GNU ld which does not correctly handle the export directive. This apparently has been been broken for a while. However, this was recently reported as being broken by mingwandroid and diorcety of the msys2 project. Remove the global leader prefix if targeting MinGW or cygwin, otherwise, retain the global leader prefix. Add an explicit test for cygwin's behaviour of export directives. llvm-svn: 207926
Diffstat (limited to 'clang/lib/Serialization/ModuleManager.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud