llvm-project/llvm
Chris Lattner 720683752e fix overflow checks in SmallVector:
"The code was doing "if (End+NumInputs > Capacity) ...". If End is
close to 0xFFFFFFFF and NumInputs is large, it'll overflow, the
condition will come out false, and the vector won't grow to
accommodate the new elements, and the program will crash in memmove."

Patch by Jeffrey Yasskin!

llvm-svn: 68277
2009-04-02 03:06:26 +00:00
..
Xcode Remove Stacker.html from Xcode project. 2008-10-14 23:23:59 +00:00
autoconf Detect that we're building from a git checkout like we do for cvs and svn. 2009-04-01 04:39:25 +00:00
bindings Fix a parallel make race condition by swapping the order of -I directories. 2009-03-06 00:00:58 +00:00
cmake CMake: Build system fixes for XCode. llvm-config still causes us some serious trouble, but it's less serious than it used to be 2009-03-16 22:53:26 +00:00
docs add this to SVN to allow collaborative hacking. 2009-04-01 21:11:04 +00:00
examples reapply Sanjiv's patch to genericize memcpy/memset/memmove to take an 2008-11-21 16:42:48 +00:00
include fix overflow checks in SmallVector: 2009-04-02 03:06:26 +00:00
lib Fix build on Linux. 2009-04-02 01:11:37 +00:00
projects Revert r67655 and r67656, as they are breaking the build. I'm 2009-03-25 00:52:11 +00:00
runtime Drop toy GC runtime. 2009-03-02 03:46:48 +00:00
test Reapply r68211, with the miscompilations it caused fixed. 2009-04-01 23:53:49 +00:00
tools Fixed file header comment. 2009-04-01 21:37:19 +00:00
unittests Make the constants fit. 2009-04-01 22:44:18 +00:00
utils Constify method to make VC++ happy. Patch by Brian Diekelman! 2009-04-01 18:24:22 +00:00
website
win32 Update hand-crafted VC++ build. 2009-02-02 19:22:02 +00:00
CMakeLists.txt Fix the Win32 VS2008 build: 2009-03-19 23:26:52 +00:00
CREDITS.TXT Adding your's truly to CREDITS.TXT 2009-01-19 15:04:29 +00:00
LICENSE.TXT Another great year for LLVM! 2009-02-26 15:17:13 +00:00
Makefile Add ccc back for now. 2009-03-30 17:43:04 +00:00
Makefile.common Removed trailing whitespace from Makefiles. 2009-01-09 16:44:42 +00:00
Makefile.config.in Autodetect the availability of -export-dynamic in the linker. 2009-03-05 08:20:21 +00:00
Makefile.rules Fix build on MacOS 10.4 systems (suggested by Mike Smith). 2009-03-27 18:18:00 +00:00
ModuleInfo.txt Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
README.txt README.txt: test commit w/blank line appended 2009-03-23 21:00:45 +00:00
build-for-llvm-top.sh Patch to build llvm with srcdir != objdir from 2009-01-23 08:42:38 +00:00
configure Revert r66765 and r66766. These were causing build failures on Darwin. 2009-03-12 04:10:09 +00:00
llvm.spec.in

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level 
Virtual Machine, a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments. 

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the HTML documentation provided in docs/index.html for further
assistance with LLVM.