projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add trampoline support for the new FastCC calling
[oota-llvm.git]
/
Makefile.rules
diff --git
a/Makefile.rules
b/Makefile.rules
index c74c46c56c5ed2b8aeb7374baf35e4e1b7df7c70..d0d83c038be1308a06fca124ab5b8ae6628db37e 100644
(file)
--- a/
Makefile.rules
+++ b/
Makefile.rules
@@
-226,7
+226,7
@@
else
# Darwin requires -fstrict-aliasing to be explicitly enabled.
ifeq ($(OS),Darwin)
# Darwin requires -fstrict-aliasing to be explicitly enabled.
ifeq ($(OS),Darwin)
- EXTRA_OPTIONS += -fstrict-aliasing
+ EXTRA_OPTIONS += -fstrict-aliasing
-Wstrict-aliasing
endif
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
endif
CXX.Flags += $(OPTIMIZE_OPTION) $(OmitFramePointer)
@@
-241,6
+241,10
@@
else
endif
endif
endif
endif
+#ifeq ($(ENABLE_VISIBILITY_INLINES_HIDDEN),1)
+# CXX.Flags += -fvisibility-inlines-hidden
+#endif
+
# IF REQUIRES_EH=1 is specified then don't disable exceptions
ifndef REQUIRES_EH
CXX.Flags += -fno-exceptions
# IF REQUIRES_EH=1 is specified then don't disable exceptions
ifndef REQUIRES_EH
CXX.Flags += -fno-exceptions
@@
-451,9
+455,8
@@
ifdef UNIVERSAL
DISABLE_AUTO_DEPENDENCIES=1
endif
DISABLE_AUTO_DEPENDENCIES=1
endif
-# Solaris requires the following flags to compile
ifeq ($(OS),SunOS)
ifeq ($(OS),SunOS)
-C
XX.Flags += -D_POSIX_C_SOURCE=199506L -U_XOPEN_SOURCE
+C
PP.BaseFlags += -include llvm/System/Solaris.h
endif
LD.Flags += -L$(LibDir) -L$(LLVMLibDir)
endif
LD.Flags += -L$(LibDir) -L$(LLVMLibDir)
@@
-1297,9
+1300,14
@@
$(ObjDir)/%GenCodeEmitter.inc.tmp: %.td $(ObjDir)/.dir
$(TARGET:%=$(ObjDir)/%GenDAGISel.inc.tmp): \
$(ObjDir)/%GenDAGISel.inc.tmp : %.td $(ObjDir)/.dir
$(TARGET:%=$(ObjDir)/%GenDAGISel.inc.tmp): \
$(ObjDir)/%GenDAGISel.inc.tmp : %.td $(ObjDir)/.dir
- $(Echo) "Building $(<F) instruction selector implementation with tblgen"
+ $(Echo) "Building $(<F)
DAG
instruction selector implementation with tblgen"
$(Verb) $(TableGen) -gen-dag-isel -o $(call SYSPATH, $@) $<
$(Verb) $(TableGen) -gen-dag-isel -o $(call SYSPATH, $@) $<
+$(TARGET:%=$(ObjDir)/%GenFastISel.inc.tmp): \
+$(ObjDir)/%GenFastISel.inc.tmp : %.td $(ObjDir)/.dir
+ $(Echo) "Building $(<F) \"fast\" instruction selector implementation with tblgen"
+ $(Verb) $(TableGen) -gen-fast-isel -o $(call SYSPATH, $@) $<
+
$(TARGET:%=$(ObjDir)/%GenSubtarget.inc.tmp): \
$(ObjDir)/%GenSubtarget.inc.tmp : %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) subtarget information with tblgen"
$(TARGET:%=$(ObjDir)/%GenSubtarget.inc.tmp): \
$(ObjDir)/%GenSubtarget.inc.tmp : %.td $(ObjDir)/.dir
$(Echo) "Building $(<F) subtarget information with tblgen"
@@
-1746,13
+1754,13
@@
check-line-length:
@echo searching for overlength lines in files: $(Sources)
@echo
@echo
@echo searching for overlength lines in files: $(Sources)
@echo
@echo
-
@
egrep -n '.{81}' $(Sources) /dev/null
+ egrep -n '.{81}' $(Sources) /dev/null
check-for-tabs:
@echo searching for tabs in files: $(Sources)
@echo
@echo
check-for-tabs:
@echo searching for tabs in files: $(Sources)
@echo
@echo
-
@egrep -n '
' $(Sources) /dev/null
+
egrep -n '
' $(Sources) /dev/null
check-footprint:
@ls -l $(LibDir) | awk '\
check-footprint:
@ls -l $(LibDir) | awk '\