mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 16:33:28 +00:00
Improved how tracing can be used:
-- added new targets %.trace-out-llc and %.trace-out-cbe -- either TRACE=yes or TRACEM=yes is still needed and chooses how to trace git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6585 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
b05497e0ca
commit
24672c3d12
@ -63,15 +63,21 @@ TESTRUNR = $(LEVEL)/test/TestRunner.sh
|
|||||||
NATGCC = /usr/dcs/software/supported/bin/gcc
|
NATGCC = /usr/dcs/software/supported/bin/gcc
|
||||||
CP = /bin/cp -f
|
CP = /bin/cp -f
|
||||||
|
|
||||||
|
## If TRACE or TRACEM is "yes", set the appropriate llc flag (-trace or -tracem)
|
||||||
|
## mark that tracing on, and set the TRACELIBS variable.
|
||||||
ifeq ($(TRACE), yes)
|
ifeq ($(TRACE), yes)
|
||||||
LLCFLAGS += -trace basicblock
|
LLCFLAGS += -trace
|
||||||
LLCLIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
|
DOTRACING = yes
|
||||||
else
|
else
|
||||||
ifeq ($(TRACEM), yes)
|
ifeq ($(TRACEM), yes)
|
||||||
LLCFLAGS += -trace function
|
LLCFLAGS += -tracem
|
||||||
LLCLIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
|
DOTRACING = yes
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
ifeq ($(DOTRACING), yes)
|
||||||
|
TRACELIBS := -L$(LEVEL)/test/Libraries/Output -linstr64
|
||||||
|
endif
|
||||||
|
|
||||||
|
|
||||||
LLCLIBS := $(LLCLIBS) -lm
|
LLCLIBS := $(LLCLIBS) -lm
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user