Use /LARGEADDRESSAWARE:NO only for debug builds with LLVM 3.4.

Most of the LLVM bugs regarding relocations are fixed now.
This commit is contained in:
kai
2013-05-24 16:07:25 +02:00
parent 49de960952
commit 4343965106

View File

@@ -238,6 +238,10 @@ static int linkObjToBinaryWin(bool sharedLib)
args.push_back("/DYNAMICBASE");
// because of a LLVM bug
// most of the bug is fixed in LLVM 3.4
#if LDC_LLVM_VER >= 304
if (global.params.symdebug)
#endif
args.push_back("/LARGEADDRESSAWARE:NO");
// output debug information