mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-12-11 13:37:07 +00:00
Native libraries (libinstr*.a) should not have been taken out when
taking out the rule for compiling the test driver. We need the native libraries for libinstr because they are directly linked into the native CBE or LLC code. That is the only practical way to debug them! llvm-svn: 7129
This commit is contained in:
parent
5f41b754e9
commit
bb4677de1e
@ -4,3 +4,20 @@ LIBNAME = instr
|
||||
|
||||
include ../Makefile.libs
|
||||
|
||||
## We need the native libraries for libinstr because they are directly
|
||||
## linked into the native CBE or LLC code. That is the only practical
|
||||
## way to debug them!
|
||||
|
||||
LIBINSTR = ../Output/libinstr.$(ARCH).a
|
||||
all:: $(LIBINSTR)
|
||||
|
||||
tracelib: tracelib.c
|
||||
g++ -g -DTEST_INSTRLIB $< -o $@
|
||||
|
||||
Debug/tracelib.o: tracelib.c Debug/.dir
|
||||
$(CompileC) -g $< -o $@
|
||||
|
||||
$(LIBINSTR): Debug/tracelib.o ../Output/.dir
|
||||
ar r $@ $<
|
||||
|
||||
tracelib.c: tracelib.h
|
||||
|
Loading…
Reference in New Issue
Block a user