Changeset e4745d7a for src/libcfa
- Timestamp:
- Dec 6, 2016, 3:38:11 PM (8 years ago)
- Branches:
- ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
- Children:
- d9c44c3
- Parents:
- c5cb6130
- Location:
- src/libcfa
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified src/libcfa/Makefile.am ¶
rc5cb6130 re4745d7a 61 61 # TEMPORARY: does not build with -O2 62 62 63 AM_CCASFLAGS = @CFA_FLAGS@ 63 64 CFLAGS = ${EXTRA_FLAGS} -quiet -no-include-stdhdr -XCFA -t -B${abs_top_srcdir}/src/driver 64 65 CC = ${abs_top_srcdir}/src/driver/cfa … … 77 78 ${libobjs} : ${abs_top_srcdir}/src/driver/cfa-cpp ${cfalib_DATA} # add dependency to cfa-cpp so all libraries are rebuilt with new translator 78 79 79 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} concurrency/CtxSwitch- x86_64.S concurrency/invoke.c80 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} concurrency/CtxSwitch-@MACHINE_TYPE@.S concurrency/invoke.c 80 81 81 82 stdhdr = ${shell echo stdhdr/*} -
TabularUnified src/libcfa/Makefile.in ¶
rc5cb6130 re4745d7a 38 38 PRE_UNINSTALL = : 39 39 POST_UNINSTALL = : 40 build_triplet = @build@ 41 host_triplet = @host@ 40 42 subdir = src/libcfa 41 43 DIST_COMMON = $(nobase_include_HEADERS) $(srcdir)/Makefile.am \ … … 95 97 containers/vector.$(OBJEXT) concurrency/threads.$(OBJEXT) 96 98 am_libcfa_a_OBJECTS = libcfa-prelude.$(OBJEXT) $(am__objects_1) \ 97 concurrency/CtxSwitch- x86_64.$(OBJEXT) \99 concurrency/CtxSwitch-@MACHINE_TYPE@.$(OBJEXT) \ 98 100 concurrency/invoke.$(OBJEXT) 99 101 libcfa_a_OBJECTS = $(am_libcfa_a_OBJECTS) … … 174 176 LIBS = @LIBS@ 175 177 LTLIBOBJS = @LTLIBOBJS@ 178 MACHINE_TYPE = @MACHINE_TYPE@ 176 179 MAINT = @MAINT@ 177 180 MAKEINFO = @MAKEINFO@ … … 205 208 am__untar = @am__untar@ 206 209 bindir = @bindir@ 210 build = @build@ 207 211 build_alias = @build_alias@ 212 build_cpu = @build_cpu@ 213 build_os = @build_os@ 214 build_vendor = @build_vendor@ 208 215 builddir = @builddir@ 209 216 datadir = @datadir@ … … 212 219 dvidir = @dvidir@ 213 220 exec_prefix = @exec_prefix@ 221 host = @host@ 214 222 host_alias = @host_alias@ 223 host_cpu = @host_cpu@ 224 host_os = @host_os@ 225 host_vendor = @host_vendor@ 215 226 htmldir = @htmldir@ 216 227 includedir = @includedir@ … … 253 264 # TEMPORARY: does not build with -O2 254 265 266 AM_CCASFLAGS = @CFA_FLAGS@ 255 267 headers = limits stdlib math iostream fstream iterator rational assert containers/vector concurrency/threads 256 268 runtimehdrs = concurrency 257 269 libobjs = ${headers:=.o} 258 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} concurrency/CtxSwitch- x86_64.S concurrency/invoke.c270 libcfa_a_SOURCES = libcfa-prelude.c ${headers:=.c} concurrency/CtxSwitch-@MACHINE_TYPE@.S concurrency/invoke.c 259 271 stdhdr = ${shell echo stdhdr/*} 260 272 nobase_include_HEADERS = ${headers} ${stdhdr} … … 340 352 concurrency/threads.$(OBJEXT): concurrency/$(am__dirstamp) \ 341 353 concurrency/$(DEPDIR)/$(am__dirstamp) 342 concurrency/CtxSwitch-x86_64.$(OBJEXT): concurrency/$(am__dirstamp) \ 354 concurrency/CtxSwitch-@MACHINE_TYPE@.$(OBJEXT): \ 355 concurrency/$(am__dirstamp) \ 343 356 concurrency/$(DEPDIR)/$(am__dirstamp) 344 357 concurrency/invoke.$(OBJEXT): concurrency/$(am__dirstamp) \ … … 351 364 mostlyclean-compile: 352 365 -rm -f *.$(OBJEXT) 353 -rm -f concurrency/CtxSwitch- x86_64.$(OBJEXT)366 -rm -f concurrency/CtxSwitch-@MACHINE_TYPE@.$(OBJEXT) 354 367 -rm -f concurrency/invoke.$(OBJEXT) 355 368 -rm -f concurrency/threads.$(OBJEXT) … … 368 381 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/rational.Po@am__quote@ 369 382 @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/stdlib.Po@am__quote@ 370 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch- x86_64.Po@am__quote@383 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/CtxSwitch-@MACHINE_TYPE@.Po@am__quote@ 371 384 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/invoke.Po@am__quote@ 372 385 @AMDEP_TRUE@@am__include@ @am__quote@concurrency/$(DEPDIR)/threads.Po@am__quote@ -
TabularUnified src/libcfa/concurrency/invoke.c ¶
rc5cb6130 re4745d7a 28 28 29 29 void __startCoroutine__A0_1_0___this_coroutine__PFP10scoroutine_Pd0___co_main__PF_Pd0___vtable__PFP9scoVtable_Pd0__F_Pd0PF_P9scoVtablePv___1( 30 struct coroutine *(*this_coroutine)(void * ), 31 void (*co_main)(void *), 32 struct coVtable *(*get_vtable)(void *), 33 void *vthis, 30 struct coroutine *(*this_coroutine)(void * ), 31 void (*co_main)(void *), 32 struct coVtable *(*get_vtable)(void *), 33 void *vthis, 34 34 void (*invoke)(struct coVtable *, void *) 35 35 ) { 36 36 37 #if ! defined( __x86_64__ ) 38 #error Only __x86_64__ is supported for threads in cfa37 #if ! defined( __x86_64__ ) && ! defined( __i386__ ) 38 #error Only __x86_64__ and __i386__ is supported for threads in cfa 39 39 #endif 40 40
Note: See TracChangeset
for help on using the changeset viewer.