mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-11-14 21:10:16 +01:00
[svn r253] Removed -inlineasm option. inline asm is now enabled by default unless the new -noasm option is passed.
Tried adding a stack trace print when compiler crashes, not sure it's working though. Changed data layouts to match that of llvm-gcc. Fixed casting function pointers. Added support checks in AsmStatement.
This commit is contained in:
@@ -39,6 +39,10 @@ else version (GNU)
|
||||
{
|
||||
// use the unoptimized version
|
||||
}
|
||||
else version(LLVMDC)
|
||||
{
|
||||
// ditto
|
||||
}
|
||||
else version (D_InlineAsm_X86)
|
||||
{
|
||||
version = Asm86;
|
||||
|
||||
@@ -20,14 +20,14 @@ MD=mkdir -p
|
||||
ADD_CFLAGS=
|
||||
ADD_DFLAGS=
|
||||
|
||||
#CFLAGS=-O $(ADD_CFLAGS)
|
||||
#CFLAGS=-O3 $(ADD_CFLAGS)
|
||||
CFLAGS=-g $(ADD_CFLAGS)
|
||||
|
||||
#DFLAGS=-release -O -inline -w -nofloat $(ADD_DFLAGS)
|
||||
DFLAGS=-g -w -nofloat $(ADD_DFLAGS)
|
||||
#DFLAGS=-release -O3 -inline -w -nofloat $(ADD_DFLAGS)
|
||||
DFLAGS=-g -w -nofloat -noasm $(ADD_DFLAGS)
|
||||
|
||||
TFLAGS=-O -inline -w -nofloat $(ADD_DFLAGS)
|
||||
#TFLAGS=-g -w -nofloat $(ADD_DFLAGS)
|
||||
#TFLAGS=-O3 -inline -w -nofloat $(ADD_DFLAGS)
|
||||
TFLAGS=-g -w -nofloat -noasm $(ADD_DFLAGS)
|
||||
|
||||
DOCFLAGS=-version=DDoc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user