Skip to content
This repository was archived by the owner on Apr 23, 2020. It is now read-only.

Release 26 #1

Closed
wants to merge 71 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
4ed8026
Create 2.6 release branch.
tlattner Aug 22, 2009
c06ff88
Merge 79741 from mainline.
tlattner Aug 22, 2009
4213ad6
Set release number and update copyright date while we are at it.
tlattner Aug 22, 2009
8d18b5a
Regenerate configure.
tlattner Aug 22, 2009
a729daf
Merge 79736 from mainline.
tlattner Aug 23, 2009
72e4d4b
Merge from mainline.
tlattner Aug 31, 2009
a1bcaae
Merge from mainline
tlattner Aug 31, 2009
dc8e00e
Merge from mainline.
tlattner Aug 31, 2009
71d80ae
Merge from mainline.
tlattner Aug 31, 2009
670958e
merge from mainline
tlattner Aug 31, 2009
7dceebd
Merge from mainline.
tlattner Aug 31, 2009
c219c0a
Merge from mainline.
tlattner Aug 31, 2009
afeffeb
Merge from mainline.
tlattner Aug 31, 2009
a13c89f
Merge from mainline.
tlattner Aug 31, 2009
5c43a45
Merge from mainline.
tlattner Aug 31, 2009
bc252b7
Merge from mainline.
tlattner Aug 31, 2009
0597fd9
Merge 79862 from mainline.
tlattner Aug 31, 2009
e4e8d74
Merge 79737 from mainline.
tlattner Aug 31, 2009
48db8e6
Merge r80213 from mainline.
tlattner Aug 31, 2009
6575f3e
Merge 80742 from mainline.
tlattner Sep 4, 2009
3ee29bf
Merge 80761 from mainline.
tlattner Sep 4, 2009
15c0e3e
Merge 80762 from mainline.
tlattner Sep 4, 2009
61d5bb6
Merge 80768 from mainline.
tlattner Sep 4, 2009
2335bcd
Merge 80780 from mainline.
tlattner Sep 4, 2009
a3353ad
Merge 80805 from mainline.
tlattner Sep 4, 2009
beabacc
Merge 80872 from mainline.
tlattner Sep 4, 2009
9b2558b
Merge 80863 from mainline.
tlattner Sep 4, 2009
05746c4
Include file is necessary for 80768 that was merged in.
tlattner Sep 8, 2009
68438c1
Merge 81187 from mainline.
tlattner Sep 8, 2009
d478be2
Merge 81204 from mainline (with minor tweak).
tlattner Sep 8, 2009
280f224
Merge 81205 from mainline.
tlattner Sep 8, 2009
6967f31
Merge 81322 from mainline.
tlattner Sep 10, 2009
829b8ef
Merge 81343 from mainline.
tlattner Sep 10, 2009
31f28df
Merge 81327 from mainline.
tlattner Sep 10, 2009
a087e06
Merge 81240 from mainline.
tlattner Sep 12, 2009
90f2714
Merge 81308 from mainline.
tlattner Sep 12, 2009
b38a312
Merge 81310 from mainline.
tlattner Sep 12, 2009
8a57704
Merge 81311 from mainline.
tlattner Sep 12, 2009
031fdbb
Merge 81403 from mainline.
tlattner Sep 12, 2009
d76a68e
Merge 80404 from mainline.
tlattner Sep 12, 2009
bf25604
Merge 81422 from mainline.
tlattner Sep 12, 2009
9e2e525
Merge r81547 from mainline to fix PR4820.
tlattner Sep 12, 2009
413ac2e
Fix PR4962.
tlattner Sep 12, 2009
c8afc56
Merge 80370 from mainline.
tlattner Sep 13, 2009
84bda21
Merge 81132 from mainline.
tlattner Sep 13, 2009
ac591b8
Merge 81175 from mainline.
tlattner Sep 13, 2009
bb16ea9
Merge 81316 from mainline.
tlattner Sep 13, 2009
85160b9
Merge 81655 from mainline.
tlattner Sep 13, 2009
99a127c
Merge 80414 from mainline.
tlattner Sep 13, 2009
5d199aa
Merge 80146 from mainline.
tlattner Sep 13, 2009
b5f7f4f
Merge 81768 from mainline.
tlattner Sep 16, 2009
08b3db3
Merge 80960 from mainline.
tlattner Sep 16, 2009
544e5bc
Merge 81799 from mainline.
tlattner Sep 16, 2009
3abdcf6
Merge 81800 from mainline.
tlattner Sep 16, 2009
dc10e65
Merge 81810 from mainline.
tlattner Sep 16, 2009
75a1426
Merge 81814 from mainline.
tlattner Sep 16, 2009
565fb5a
Merge 81821 from mainline.
tlattner Sep 16, 2009
b580bd1
Merge 81845 from mainline.
tlattner Sep 16, 2009
15a6377
Merge 81888 from mainline.
tlattner Sep 16, 2009
1d20c4e
Merge 80153 from mainline.
tlattner Sep 16, 2009
440f412
Fix PR5001 PR5002.
tlattner Sep 18, 2009
66f1c6a
Fix mingw for release.
tlattner Sep 18, 2009
f2641fb
Merge in fix for PR4910.
tlattner Sep 21, 2009
e07cc23
Merge from mainline (reg).
tlattner Oct 1, 2009
f97bad7
Merge 83391 from mainline.
tlattner Oct 12, 2009
901cb73
Merge 83417 from mainline.
tlattner Oct 12, 2009
94ea8e3
Merge 79729 from mainline.
tlattner Oct 13, 2009
1b76955
Merge in release notes.
tlattner Oct 23, 2009
850c8b6
Add 2.6
tlattner Oct 23, 2009
0ef4085
Merge 80596 from mainline.
tlattner Oct 24, 2009
0f2b0d8
This fix solves error: "‘ptrdiff_t’ does not name a type" for me.
worldsayshi Nov 19, 2012
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,10 @@ ifeq ($(HOST_OS),Darwin)
DARWIN_MAJVERS := $(shell echo $(DARWIN_VERSION)| sed -E 's/10.([0-9]).*/\1/')

SharedLinkOptions=-Wl,-flat_namespace -Wl,-undefined -Wl,suppress \
-dynamiclib -mmacosx-version-min=$(DARWIN_VERSION)
-dynamiclib
ifneq ($(ARCH),ARM)
SharedLinkOptions += -mmacosx-version-min=$(DARWIN_VERSION)
endif
else
ifeq ($(HOST_OS),Cygwin)
SharedLinkOptions=-shared -nostdlib -Wl,--export-all-symbols \
Expand All @@ -524,7 +527,9 @@ else
endif

ifeq ($(TARGET_OS),Darwin)
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
ifneq ($(ARCH),ARM)
TargetCommonOpts += -mmacosx-version-min=$(DARWIN_VERSION)
endif
endif

# Adjust LD.Flags depending on the kind of library that is to be built. Note
Expand Down
8 changes: 4 additions & 4 deletions autoconf/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ dnl===
dnl===-----------------------------------------------------------------------===
dnl Initialize autoconf and define the package name, version number and
dnl email address for reporting bugs.
AC_INIT([[llvm]],[[2.6svn]],[llvmbugs@cs.uiuc.edu])
AC_INIT([[llvm]],[[2.6]],[llvmbugs@cs.uiuc.edu])

dnl Provide a copyright substitution and ensure the copyright notice is included
dnl in the output of --version option of the generated configure script.
AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign."])
AC_COPYRIGHT([Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.])
AC_SUBST(LLVM_COPYRIGHT,["Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign."])
AC_COPYRIGHT([Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign.])

dnl Indicate that we require autoconf 2.59 or later. Ths is needed because we
dnl use some autoconf macros only available in 2.59.
Expand Down Expand Up @@ -407,7 +407,7 @@ else
PowerPC) AC_SUBST(TARGET_HAS_JIT,1) ;;
x86_64) AC_SUBST(TARGET_HAS_JIT,1) ;;
Alpha) AC_SUBST(TARGET_HAS_JIT,1) ;;
ARM) AC_SUBST(TARGET_HAS_JIT,0) ;;
ARM) AC_SUBST(TARGET_HAS_JIT,1) ;;
Mips) AC_SUBST(TARGET_HAS_JIT,0) ;;
PIC16) AC_SUBST(TARGET_HAS_JIT,0) ;;
XCore) AC_SUBST(TARGET_HAS_JIT,0) ;;
Expand Down
4 changes: 4 additions & 0 deletions bindings/ocaml/Makefile.ocaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,16 @@ PROJ_libocamldir := $(DESTDIR)$(OCAML_LIBDIR)
OcamlDir := $(LibDir)/ocaml

# Info from llvm-config and similar
ifndef IS_CLEANING_TARGET
ifdef UsedComponents
UsedLibs = $(shell $(LLVM_CONFIG) --libs $(UsedComponents))
UsedLibNames = $(shell $(LLVM_CONFIG) --libnames $(UsedComponents))
endif
endif

# Tools
OCAMLCFLAGS += -I $(ObjDir) -I $(OcamlDir)
ifndef IS_CLEANING_TARGET
ifneq ($(ObjectsO),)
OCAMLAFLAGS += $(patsubst %,-cclib %, \
$(filter-out -L$(LibDir),-l$(LIBRARYNAME) \
Expand All @@ -48,6 +51,7 @@ OCAMLAFLAGS += $(patsubst %,-cclib %, \
$(filter-out -L$(LibDir),$(shell $(LLVM_CONFIG) --ldflags)) \
$(UsedLibs))
endif
endif

# -g was introduced in 3.10.0.
#ifneq ($(ENABLE_OPTIMIZED),1)
Expand Down
8 changes: 6 additions & 2 deletions bindings/ocaml/executionengine/executionengine_ocaml.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,15 @@
#include <string.h>
#include <assert.h>

/* Force the LLVM interpreter, JIT, and native target to be linked in. */
/* Force the LLVM interpreter and JIT to be linked in. */
void llvm_initialize(void) {
LLVMLinkInInterpreter();
LLVMLinkInJIT();
LLVMInitializeNativeTarget();
}

/* unit -> bool */
CAMLprim value llvm_initialize_native_target(value Unit) {
return Val_bool(LLVMInitializeNativeTarget());
}

/* Can't use the recommended caml_named_value mechanism for backwards
Expand Down
3 changes: 3 additions & 0 deletions bindings/ocaml/executionengine/llvm_executionengine.ml
Original file line number Diff line number Diff line change
Expand Up @@ -109,3 +109,6 @@ module ExecutionEngine = struct

*)
end

external initialize_native_target : unit -> bool
= "llvm_initialize_native_target"
3 changes: 3 additions & 0 deletions bindings/ocaml/executionengine/llvm_executionengine.mli
Original file line number Diff line number Diff line change
Expand Up @@ -161,3 +161,6 @@ module ExecutionEngine: sig
[ee]. *)
val target_data: t -> Llvm_target.TargetData.t
end

external initialize_native_target : unit -> bool
= "llvm_initialize_native_target"
26 changes: 13 additions & 13 deletions configure
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.60 for llvm 2.6svn.
# Generated by GNU Autoconf 2.60 for llvm 2.6.
#
# Report bugs to <llvmbugs@cs.uiuc.edu>.
#
Expand All @@ -9,7 +9,7 @@
# This configure script is free software; the Free Software Foundation
# gives unlimited permission to copy, distribute and modify it.
#
# Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.
# Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign.
## --------------------- ##
## M4sh Initialization. ##
## --------------------- ##
Expand Down Expand Up @@ -715,8 +715,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package.
PACKAGE_NAME='llvm'
PACKAGE_TARNAME='-llvm-'
PACKAGE_VERSION='2.6svn'
PACKAGE_STRING='llvm 2.6svn'
PACKAGE_VERSION='2.6'
PACKAGE_STRING='llvm 2.6'
PACKAGE_BUGREPORT='llvmbugs@cs.uiuc.edu'

ac_unique_file="lib/VMCore/Module.cpp"
Expand Down Expand Up @@ -1473,7 +1473,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
\`configure' configures llvm 2.6svn to adapt to many kinds of systems.
\`configure' configures llvm 2.6 to adapt to many kinds of systems.

Usage: $0 [OPTION]... [VAR=VALUE]...

Expand Down Expand Up @@ -1539,7 +1539,7 @@ fi

if test -n "$ac_init_help"; then
case $ac_init_help in
short | recursive ) echo "Configuration of llvm 2.6svn:";;
short | recursive ) echo "Configuration of llvm 2.6:";;
esac
cat <<\_ACEOF

Expand Down Expand Up @@ -1682,23 +1682,23 @@ fi
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
llvm configure 2.6svn
llvm configure 2.6
generated by GNU Autoconf 2.60

Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
This configure script is free software; the Free Software Foundation
gives unlimited permission to copy, distribute and modify it.

Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.
Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign.
_ACEOF
exit
fi
cat >config.log <<_ACEOF
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by llvm $as_me 2.6svn, which was
It was created by llvm $as_me 2.6, which was
generated by GNU Autoconf 2.60. Invocation command line was

$ $0 $@
Expand Down Expand Up @@ -2052,7 +2052,7 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu



LLVM_COPYRIGHT="Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign."
LLVM_COPYRIGHT="Copyright (c) 2003-2009 University of Illinois at Urbana-Champaign."



Expand Down Expand Up @@ -4918,7 +4918,7 @@ else
;;
Alpha) TARGET_HAS_JIT=1
;;
ARM) TARGET_HAS_JIT=0
ARM) TARGET_HAS_JIT=1
;;
Mips) TARGET_HAS_JIT=0
;;
Expand Down Expand Up @@ -35773,7 +35773,7 @@ exec 6>&1
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
This file was extended by llvm $as_me 2.6svn, which was
This file was extended by llvm $as_me 2.6, which was
generated by GNU Autoconf 2.60. Invocation command line was

CONFIG_FILES = $CONFIG_FILES
Expand Down Expand Up @@ -35826,7 +35826,7 @@ Report bugs to <bug-autoconf@gnu.org>."
_ACEOF
cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\
llvm config.status 2.6svn
llvm config.status 2.6
configured by $0, generated by GNU Autoconf 2.60,
with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"

Expand Down
10 changes: 8 additions & 2 deletions docs/CommandGuide/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ HTML := $(patsubst $(SRC_DOC_DIR)%.pod, $(DST_HTML_DIR)%.html, $(POD))
MAN := $(patsubst $(SRC_DOC_DIR)%.pod, $(DST_MAN_DIR)%.1, $(POD))
PS := $(patsubst $(SRC_DOC_DIR)%.pod, $(DST_PS_DIR)%.ps, $(POD))

# The set of man pages we will not install
NO_INSTALL_MANS = $(DST_MAN_DIR)FileCheck.1

# The set of man pages that we will install
INSTALL_MANS = $(filter-out $(NO_INSTALL_MANS), $(MAN))

.SUFFIXES:
.SUFFIXES: .html .pod .1 .ps

Expand Down Expand Up @@ -75,15 +81,15 @@ HTML_DIR := $(PROJ_docsdir)/html/CommandGuide
MAN_DIR := $(PROJ_mandir)/man1
PS_DIR := $(PROJ_docsdir)/ps

install-local:: $(HTML) $(MAN) $(PS)
install-local:: $(HTML) $(INSTALL_MANS) $(PS)
$(Echo) Installing HTML CommandGuide Documentation
$(Verb) $(MKDIR) $(HTML_DIR)
$(Verb) $(DataInstall) $(HTML) $(HTML_DIR)
$(Verb) $(DataInstall) $(PROJ_SRC_DIR)/index.html $(HTML_DIR)
$(Verb) $(DataInstall) $(PROJ_SRC_DIR)/manpage.css $(HTML_DIR)
$(Echo) Installing MAN CommandGuide Documentation
$(Verb) $(MKDIR) $(MAN_DIR)
$(Verb) $(DataInstall) $(MAN) $(MAN_DIR)
$(Verb) $(DataInstall) $(INSTALL_MANS) $(MAN_DIR)
$(Echo) Installing PS CommandGuide Documentation
$(Verb) $(MKDIR) $(PS_DIR)
$(Verb) $(DataInstall) $(PS) $(PS_DIR)
Expand Down
1 change: 1 addition & 0 deletions docs/GettingStarted.html
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,7 @@
subdirectories of the '<tt>tags</tt>' directory:</p>

<ul>
<li>Release 2.6: <b>RELEASE_26</b></li>
<li>Release 2.5: <b>RELEASE_25</b></li>
<li>Release 2.4: <b>RELEASE_24</b></li>
<li>Release 2.3: <b>RELEASE_23</b></li>
Expand Down
20 changes: 10 additions & 10 deletions docs/LangRef.html
Original file line number Diff line number Diff line change
Expand Up @@ -2659,9 +2659,9 @@ <h5>Semantics:</h5>
<h5>Syntax:</h5>
<pre>
&lt;result&gt; = add &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nuw add &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nsw add &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nuw nsw add &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = add nuw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = add nsw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = add nuw nsw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
</pre>

<h5>Overview:</h5>
Expand Down Expand Up @@ -2733,9 +2733,9 @@ <h5>Example:</h5>
<h5>Syntax:</h5>
<pre>
&lt;result&gt; = sub &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nuw sub &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nsw sub &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nuw nsw sub &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = sub nuw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = sub nsw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = sub nuw nsw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
</pre>

<h5>Overview:</h5>
Expand Down Expand Up @@ -2820,9 +2820,9 @@ <h5>Example:</h5>
<h5>Syntax:</h5>
<pre>
&lt;result&gt; = mul &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nuw mul &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nsw mul &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = nuw nsw mul &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = mul nuw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = mul nsw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = mul nuw nsw &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
</pre>

<h5>Overview:</h5>
Expand Down Expand Up @@ -2932,7 +2932,7 @@ <h5>Example:</h5>
<h5>Syntax:</h5>
<pre>
&lt;result&gt; = sdiv &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = exact sdiv &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
&lt;result&gt; = sdiv exact &lt;ty&gt; &lt;op1&gt;, &lt;op2&gt; <i>; yields {ty}:result</i>
</pre>

<h5>Overview:</h5>
Expand Down
Loading