mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-02-28 01:23:14 +01:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user