Skip to content

Commit

Permalink
Native libraries (libinstr*.a) should not have been taken out when
Browse files Browse the repository at this point in the history
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!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7129 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Vikram S. Adve committed Jul 8, 2003
1 parent 1239874 commit 47485df
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions runtime/libtrace/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 47485df

Please sign in to comment.