mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-11-27 03:13:51 +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:
@@ -2260,7 +2260,10 @@ private
|
||||
{
|
||||
version( D_InlineAsm_X86 )
|
||||
{
|
||||
version( X86_64 )
|
||||
version( LLVMDC )
|
||||
{
|
||||
}
|
||||
else version( X86_64 )
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
@@ -22,14 +22,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 $(ADD_DFLAGS)
|
||||
DFLAGS=-g -w $(ADD_DFLAGS)
|
||||
#DFLAGS=-release -O3 -inline -w $(ADD_DFLAGS)
|
||||
DFLAGS=-g -w -noasm $(ADD_DFLAGS)
|
||||
|
||||
#TFLAGS=-O -inline -w $(ADD_DFLAGS)
|
||||
TFLAGS=-g -w $(ADD_DFLAGS)
|
||||
#TFLAGS=-O3 -inline -w $(ADD_DFLAGS)
|
||||
TFLAGS=-g -w -noasm $(ADD_DFLAGS)
|
||||
|
||||
DOCFLAGS=-version=DDoc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user