Commit Graph

39 Commits

Author SHA1 Message Date
Vikram S. Adve
e04a2e056b Use uint32_t for table index and size: table will never be > 4GB.
Also, make Pointer type depend on architecture.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7170 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-11 22:02:28 +00:00
Vikram S. Adve
0df8adc0e6 Pointer hash table reallocation code seems never to have been tested!
Unfortunately, reallocation also means that the pointer numbering will
change, so increase table size to try to avoid it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7130 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-08 18:42:44 +00:00
Vikram S. Adve
47485df280 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
2003-07-08 18:40:58 +00:00
Sumant Kowshik
af0f37ac49 Added support for poolallocarray and poolmakeunfreeable. The latter is used by the SAFECode project
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7102 91177308-0d34-0410-b5e6-96231b3b80d8
2003-07-03 17:55:47 +00:00
Chris Lattner
5d243c2fa5 Don't register the destructors if the list is empty
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6909 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-26 04:20:38 +00:00
Joel Stanley
b1b3fb3b6a Prevented inclusion of (non-existent) stdint.h on Sparc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6876 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-24 02:46:47 +00:00
Misha Brukman
d57f3efbc7 Prevent lines from wrapping.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6419 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-29 22:12:35 +00:00
Chris Lattner
96191aba7d Initial checkin
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6414 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-29 20:24:54 +00:00
Chris Lattner
881a2bab05 Run more post-link xforms
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6400 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-29 15:16:45 +00:00
Chris Lattner
3c4f63ac55 Update to match the reality that is now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6362 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-27 21:43:14 +00:00
Chris Lattner
20fa5da40a add support for an explicit EXPORTED_SYMBOL_LIST
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6296 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 20:27:30 +00:00
Chris Lattner
61441cca45 Specify a list of symbols that should be exported by the library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6290 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 19:50:30 +00:00
Chris Lattner
977abcb790 Update to match typename produced by the C frontend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6287 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-22 19:30:11 +00:00
Chris Lattner
7cfee5b2bb Dead file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6189 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 13:10:18 +00:00
Chris Lattner
74075dd832 Minor updates
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6188 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 13:09:57 +00:00
Chris Lattner
fdab728301 Initial checkin of crtend.o implementation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6187 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 13:09:41 +00:00
Chris Lattner
aa470c2d47 New file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6186 91177308-0d34-0410-b5e6-96231b3b80d8
2003-05-14 12:40:20 +00:00
Chris Lattner
8fc625836e Remove support for memset
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5599 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-18 20:42:15 +00:00
Chris Lattner
6d3a877743 Add lots of functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5598 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-18 20:42:07 +00:00
Chris Lattner
3c0ced5e70 Implement more functions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5538 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-11 23:12:23 +00:00
Chris Lattner
3a35254960 Implement feof and xmalloc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5478 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-03 19:12:38 +00:00
Chris Lattner
cbf2a3e5c1 Add a bunch more stubs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5459 91177308-0d34-0410-b5e6-96231b3b80d8
2003-02-01 04:51:12 +00:00
Chris Lattner
a4a684e433 Initial checkin of pool allocator library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5429 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-29 18:38:11 +00:00
Chris Lattner
f3cffa10b0 Initial checkin of dummylib
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5357 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-17 19:09:29 +00:00
Chris Lattner
591c7288a7 fix path
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4636 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-08 21:29:22 +00:00
Chris Lattner
1b115971f2 Add note about what this is
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4581 91177308-0d34-0410-b5e6-96231b3b80d8
2002-11-06 20:58:26 +00:00
Chris Lattner
853f9bee44 Pass renamed
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3141 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-30 00:53:26 +00:00
Chris Lattner
d6c68c417b Fixes to be LP64 correct
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2950 91177308-0d34-0410-b5e6-96231b3b80d8
2002-07-18 00:15:29 +00:00
Chris Lattner
c5208d4222 Allow libraries to specify other libraries to link to
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2678 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-20 21:45:44 +00:00
Chris Lattner
348d165d9b Tracelib is now an LLVM library just like all other libraries in this
directory.

If the test code needs to be resurrected in the future, it should be moved
into the test/Programs directory, linking with tracelib.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2672 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-20 21:16:19 +00:00
Chris Lattner
2bb5c7f6bf * If hashing a pointer, cast it to a 64 bit number so gcc doesn't warn
* Don't put extra stuff after #endif


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2671 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-20 21:15:30 +00:00
Chris Lattner
cfb81918ed Implement the printf function, used by assert
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2666 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-20 19:11:23 +00:00
Vikram S. Adve
2df1f74b97 Runtime routines to support tracing.
Currently includes code to hash pointers to sequence numbers.
The hash table should be separated out into a separate file
since that is generic.  The rest of this code is pretty small.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2655 91177308-0d34-0410-b5e6-96231b3b80d8
2002-05-19 15:49:58 +00:00
Chris Lattner
812d8be09c Remove compilation of __main because we now link -lgcc into programs
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1947 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-22 19:13:47 +00:00
Vikram S. Adve
1d7aefd6c7 Need rule for runtime.o. This is just temporary to provide
ll__main so that llc output can link.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1913 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-18 04:04:25 +00:00
Chris Lattner
4ee8dd7f2b Add strcat function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1847 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-11 17:46:50 +00:00
Chris Lattner
c1e20acc68 Checkin library infrastructure for building stuff to be linked with
gccld


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1842 91177308-0d34-0410-b5e6-96231b3b80d8
2002-03-08 23:20:52 +00:00
Chris Lattner
0305141a51 Add a clean target stub
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1818 91177308-0d34-0410-b5e6-96231b3b80d8
2002-02-26 21:48:24 +00:00
Chris Lattner
7aeed26bc4 Initial checkin of Makefile, just a dummy file for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1566 91177308-0d34-0410-b5e6-96231b3b80d8
2002-01-23 19:57:59 +00:00