aboutsummaryrefslogtreecommitdiffstats
path: root/README.android
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2010-09-15 16:56:25 -0700
committerShih-wei Liao <sliao@google.com>2010-09-15 17:03:30 -0700
commit8d3892a530a26f66ead4fbfc4d36d3c8a917b295 (patch)
treefebc33144ad9a2b83e0b4db9fe118ec580026a7f /README.android
parent5eeaf26c4d2b001102b8b788b7f458d854772381 (diff)
downloadexternal_llvm-8d3892a530a26f66ead4fbfc4d36d3c8a917b295.zip
external_llvm-8d3892a530a26f66ead4fbfc4d36d3c8a917b295.tar.gz
external_llvm-8d3892a530a26f66ead4fbfc4d36d3c8a917b295.tar.bz2
Add README.android to describe the Android-specific LLVM changes that we can't push upstream.
Some of them are to-dos that when they are done, there will no longer be merge conflicts with upstream. Change-Id: I5a754dd389af05bb7c151468ceb347e06e025247
Diffstat (limited to 'README.android')
-rw-r--r--README.android39
1 files changed, 39 insertions, 0 deletions
diff --git a/README.android b/README.android
new file mode 100644
index 0000000..50f15d5
--- /dev/null
+++ b/README.android
@@ -0,0 +1,39 @@
+/*
+ * README.android describes in high-level the LLVM changes that we cannot push
+ * upstream to the llvm.org repository:
+ * - Changes due to Android's build system.
+ * - Changes due to Android's toolchain.
+ * - Changes due to the limitations in Android-based consumer electronics.
+ *
+ * Some of them are to-dos. If and when they are done, there will no longer be
+ * merge conflicts with upstream on those parts.
+ *
+ * The file contains useful hints when we try to resolve future 3-way merge
+ * conflicts.
+ */
+
+* We add 40+ Android's *.mk files that are specific to Android's build system.
+
+* All the configuration files because we don't have configure/make/make-install
+
+* Changes for enabling both host and device builds.
+
+* All the tblgen work to enable Android to build a generator-generator binary
+ and then run it in the middle of Android build process.
+
+* Explicitly include <cctype> header since is*() are not builtin functions in
+Android toolchain.
+
+* Code changes to make Android's toolchain stop outputting warnings. (This part
+ should be pushed upstream eventually.)
+
+* lib/Target/{X86,ARM}/AsmPrinter/{X86,ARM}AsmPrinter.cpp
+ Move from lib/Target/{X86,ARM}/{X86,ARM}AsmPrinter.cpp.
+ AsmPrinter is only needed in Android when disassembly functionality
+ is desired to be included.
+
+* Our ARM code generation fixes that upstream hasn't accepted yet. (This
+ conflict will be resolved eventually, but there will always be time lag.)
+
+* Assorted size optimizations because Android-based consumer electronics
+ need them.