diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-08 18:40:58 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2003-07-08 18:40:58 +0000 |
commit | 47485df2801d08fd4d9c52034d44685921427595 (patch) | |
tree | 70c4c52ea30f4aa2d8ee2caa16131fc763d32666 /runtime | |
parent | 1239874a1e46c0d43517b24f6bcc0d7b5d590bfb (diff) | |
download | llvm-47485df2801d08fd4d9c52034d44685921427595.tar.gz llvm-47485df2801d08fd4d9c52034d44685921427595.tar.bz2 llvm-47485df2801d08fd4d9c52034d44685921427595.tar.xz |
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!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7129 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/libtrace/Makefile | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/runtime/libtrace/Makefile b/runtime/libtrace/Makefile index d9d311bcd8..b74e037dcf 100644 --- a/runtime/libtrace/Makefile +++ b/runtime/libtrace/Makefile @@ -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 |