OSDN Git Service

Merge upstream to r134306 at Sat. 2nd July 2011.
[android-x86/external-llvm.git] / README.android
1 /*
2  * README.android describes in high-level the LLVM changes that we cannot push
3  * upstream to the llvm.org repository:
4  *  - Changes due to Android's build system.
5  *  - Changes due to Android's toolchain.
6  *  - Changes due to the limitations in Android-based consumer electronics.
7  *
8  * Some of them are to-dos. If and when they are done, there will no longer be 
9  * merge conflicts with upstream on those parts.
10  *
11  * The file contains useful hints when we try to resolve future 3-way merge 
12  * conflicts. 
13  */ 
14
15 * For Honeycomb: Synced to upstream r112344.
16 * For Honeycomb MR1: Synced to upstream r119309
17 * For Honeycomb MR2: Synced to upstream r119309
18 * For Ice Cream Sandwich: Synced to upstream r133718
19
20 * Recent downstreaming on 2011/6/30: From r133240 to 133718
21   * This downstreaming could have broken bitcode compatibility
22     * Upstream was migrating from 2.7 bitcode to 3.0 bitcode.
23     * See the 4 commits on 2011/6/17:
24     ==> * 4f6bab9 - Drop the "2" suffix on some enums. (13 days ago) <Chris Lattner>
25     ==> * 96a74c5 - remove support for a bunch of obsolete instruction encodings and other backward compatibility hacks. (13 days ago) <Chris Lattner>
26         * 738f05a - Remove a useless copy of MCELFStreamer. Patch by Logan Chien! (13 days ago) <Benjamin Kramer>
27         * 981d826 - getSuccWeight returns now default 0 if Weights vector is empty. (13 days ago) <Jakub Staszak>
28         * 799a58a55 - missed a file. (13 days ago) <Chris Lattner>
29     ==> * 9d61dd9 - Remove some "2" suffixes from the metadata enums now that "1" is gone. (13 days ago) <Chris Lattner>
30     ==> * 020a5a4 - remove bitcode reader support for LLVM 2.7 metadata encoding. (13 days ago) <Chris Lattner>
31   * We maintain compatibility because Honeycomb SDK is out there.
32     * Our bitcode reader can read both 2.7 and 3.0 versions. Writer is tracking upstream.
33 * Recent downstreaming on 2011/6/22: From r129128 to 133240
34 * Recent downstreaming on 2011/4/8: From r127116 to 129128
35 * Recent downstreaming on 2011/3/11: From r119309 to 127116
36
37 * We add 40+ Android's *.mk files that are specific to Android's build system.
38
39 * All the configuration files because we don't have configure/make/make-install
40
41 * Changes for enabling both host and device builds.
42
43 * All the tblgen work to enable Android to build a generator-generator binary
44   and then run it in the middle of Android build process.
45
46 * Explicitly include <cctype> header since is*() are not builtin functions in 
47 Android toolchain.
48
49 * Code changes to make Android's toolchain stop outputting warnings. (This part
50   should be pushed upstream eventually.)
51
52 * lib/Target/{X86,ARM}/AsmPrinter/{X86,ARM}AsmPrinter.cpp
53    Move from lib/Target/{X86,ARM}/{X86,ARM}AsmPrinter.cpp. 
54    AsmPrinter is only needed in Android when disassembly functionality 
55       is desired to be included.
56
57 * Our ARM code generation fixes that upstream hasn't accepted yet. (This
58   conflict will be resolved eventually, but there will always be time lag.)
59
60 * Assorted size optimizations because Android-based consumer electronics
61   need them.