summaryrefslogtreecommitdiffstats
path: root/core/clang
Commit message (Collapse)AuthorAgeFilesLines
* [MIPSR6] Add mips64r6 and mips32r6 targetsDuane Sand2014-08-052-2/+2
| | | | | | | | | | | | | Add mips64r6 target and corresponding mips32r6 target. Defaults remain as mips64r2 and mips32r2. Apply -FP64A codegen subsetting to mips32r6 only. Access FR=0 odd-numbered 32-bit float regs only via double-prec even-numbered regs, not by single-prec ops. (cherry picked from commit 6bab974cdc90cb3a7514c7255b6e6adfb9c98e2b) Change-Id: I447337ce56c15e86cec505d68a6b45294fc3ba77
* [MIPS64] Enable mips64 clangDuane Sand2014-08-051-1/+1
| | | | | | (cherry picked from commit 41ca4446370ba90e472e45a8897868855185a6c7) Change-Id: I0b141c58c88fe86e3a59844f53acc9a0e0a5271c
* [MIPS] Unite mipsel and mips64el 4.9 gcc toolchainsDuane Sand2014-08-053-15/+6
| | | | | | | | | | | | | | Use 4.9 mips64el toolchain for both 64- and 32-bit builds. Tell ld when 32-bit links are required. Override 4.9's changed defaults for mips floating point register use, to get same assembler rules as 4.8 and earlier. Also: drop unused soft-fp build targets, cleanout redundant compiler options, and remove extraneous Android.mk file. (cherry picked from commit 6670e24aed1ca66f21a6af759a0d156bb3df1739) Change-Id: I34d2f8fc6113c9d1670e3acff1aff48634b9fe1b
* Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""Ying Wang2014-07-301-0/+11
| | | | | | | | | This reverts commit a4f84fdfed9a805d69b37de997512cd0616b3ff8. Added "export CCACHE_CPP2 := true" to work around ccache bug with clang. See: http://petereisentraut.blogspot.com/2011/09/ccache-and-clang-part-2.html Change-Id: I2b1fa8fd59c3a113c4028a92a1d16018133c9792
* am a44f9a35: am edbc4595: am d51730a6: Merge "Help catch common 32/64-bit ↵Brian Carlstrom2014-06-171-1/+5
|\ | | | | | | | | | | | | errors." * commit 'a44f9a35a284c600616a7f2213a861ecdefd5615': Help catch common 32/64-bit errors.
| * Help catch common 32/64-bit errors.Brian Carlstrom2014-06-171-1/+5
| | | | | | | | | | | | (cherry picked from commit cf5ea762e015bc044d251814d9062ef1df4dd49f) Change-Id: I43eb93d41967c63acb0723083c0178019f1364d0
* | am 2d19cbd2: resolved conflicts for merge of 135e11df to ↵Ying Wang2014-06-111-5/+0
|\ \ | |/ | | | | | | | | | | klp-modular-dev-plus-aosp * commit '2d19cbd279ed69c7202f089be174c35c1585f709': Switch to 32-bit-by-default host multilib build.
| * Switch to 32-bit-by-default host multilib build.Ying Wang2014-06-091-5/+0
| | | | | | | | | | | | | | | | Also we don't need to force LLVM built from source, for we already force LLVM to be built as 32-bit. Bug: 13751317 Change-Id: Ifadf1988d28b60cb06316de50f5bdc1834f1acc0
* | am 45c39300: am 3c52ff07: am e564c0cb: Merge "Switch name from tblgen -> ↵Tim Murray2014-06-041-1/+1
|\ \ | |/ | | | | | | | | | | llvm-tblgen for consistency with upstream tools." * commit '45c3930084180857d7b09c0859805506e7ede847': Switch name from tblgen -> llvm-tblgen for consistency with upstream tools.
| * Switch name from tblgen -> llvm-tblgen for consistency with upstream tools.Stephen Hines2014-06-031-1/+1
| | | | | | | | Change-Id: I7735fd88104ff95001dd5f88a1c387df9af993ad
* | am 71617605: am 8e2b2d8a: am b0143e2f: Merge "Add some more flags to ↵Ying Wang2014-05-221-0/+5
|\ \ | |/ | | | | | | | | | | CLANG_CONFIG_UNKNOWN_CFLAGS" * commit '716176059ab8962c7049f91c83c82b1af9f2632a': Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS
| * Merge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"Ying Wang2014-05-221-0/+5
| |\
| | * Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGSBernhard Rosenkraenzer2014-05-121-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | Add some more gcc specific flags that are used somewhere in the tree (e.g. external/chromium_org) to CLANG_CONFIG_UNKNOWN_CFLAGS Change-Id: Icc572fdb6ea4ba818c4d18e430296589eb61bf55 Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
* | | am 9e55ed53: am 47316a27: am 5137d458: Merge "Force to build llvm from ↵Ying Wang2014-05-161-0/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | source in 64-bit host build." * commit '9e55ed53ef7dfebc759a2494503b19e33b0c47d7': Force to build llvm from source in 64-bit host build.
| * | Force to build llvm from source in 64-bit host build.Ying Wang2014-05-161-0/+5
| | | | | | | | | | | | | | | Bug: 13751317 Change-Id: I4a4150bfe21607eb7a2342bbd8120b431427eee5
* | | am 0a2c133d: am 5b768a72: am f14653ce: Merge "x86_common.mk has been ↵Ying Wang2014-05-161-54/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | replaced by HOST_x86_common.mk" * commit '0a2c133dc85e611b209244a6024a8390f338a63d': x86_common.mk has been replaced by HOST_x86_common.mk
| * | x86_common.mk has been replaced by HOST_x86_common.mkYing Wang2014-05-151-54/+0
| | | | | | | | | | | | Change-Id: I19eea82bb35d3f65a2d894c687131a1eafbe2cc9
* | | am e50f2d9f: am 40b49d30: am a74ade94: Merge "Support host multilib build"Ying Wang2014-05-154-12/+71
|\ \ \ | |/ / | | | | | | | | | * commit 'e50f2d9f32a27d8290692dbf99ab8b247ef9d553': Support host multilib build
| * | Support host multilib buildYing Wang2014-05-144-12/+71
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change basically ported our target multilib to the host side. It supports 2 host build modes: x86 and x86_64 multilib build. For now you need to set "BUILD_HOST_64bit=true" to switch to x86_64 multilib build. Later we'll default to x86_64 build and have a flag to force 32-bit only build, which may be needed by SDK build. In host module definition, like in target ones, you can use the following LOCAL variables to set up multilib configuration: LOCAL_MULTILIB: can be "both", "first", "32" or "64". It also supports the same set of arch or 32-vs-64 specific LOCAL variables. By default, it builds only for the first arch. To keep path compatibility, in x86_64 build files are still output to out/host/linux-x86; Both 32-bit and 64-bit executables are in out/host/linux-86/bin; In x86_64 build 32-bit shared libraries are installed to out/host/linux-x86/lib32 and 64-bit shared libraries are installed to out/host/linux-x86/lib; 32-bit object files are output to out/host/linux-x86/obj32 and 64-bit object files are output to out/host/linux-x86/obj. Bug: 13751317 Change-Id: I6044f83b7db369a33e05209e8c588eb6dc83409f
* | am a01cb054: am c581e10a: am eca0043b: Merge "Disable canonical prefixes of ↵Andrew Hsieh2014-05-091-1/+2
|\ \ | |/ | | | | | | | | | | system headers" * commit 'a01cb05450c6435c9cdca58534ed00eafb07f6eb': Disable canonical prefixes of system headers
| * Disable canonical prefixes of system headersAndrew Hsieh2014-05-091-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | GCC know a few pre-defined paths (relative to its location) to search for headers, libraries, program, etc. By default GCC prefixes its own path(argv[0]) and calls realpath() which result in absolute path with all symlink, . and .. removed. It's usually good to have canonicalised paths, but absolute paths in *.d file can cause unnecessary relinking when stale entries in ccache cache hit Add -no-canonical-prefixes (gcc>=4.6) and -fno-canonical-system-headers (gcc>4.6) to disable realpath() on prefixed paths Change-Id: I58d739e61fb013015fb05a9c98b2132b307f915a
* | am 09e044ea: am 6ac74e6d: am d720c5a2: Merge "Add -no-integrated-as for ARM64."Tim Murray2014-05-021-1/+3
|\ \ | |/ | | | | | | * commit '09e044ea813cc23b1d3b5ed99b20dea9ec7c5328': Add -no-integrated-as for ARM64.
| * Merge "Add -no-integrated-as for ARM64."Tim Murray2014-05-021-1/+3
| |\
| | * Add -no-integrated-as for ARM64.Tim Murray2014-04-301-1/+3
| | | | | | | | | | | | Change-Id: I7faba190554aa43f43b2eb164bdc7b3bfab68ef0
* | | am cf53e0e0: am 27fe9406: am 7e65b6c1: Merge "Remove tblgen and clang-tblgen ↵Tim Murray2014-04-301-2/+3
|\ \ \ | |/ / | | | | | | | | | | | | | | | from prebuilts." * commit 'cf53e0e0aaf569d7e76472e2958dca5a44f45df2': Remove tblgen and clang-tblgen from prebuilts.
| * | Remove tblgen and clang-tblgen from prebuilts.Tim Murray2014-04-301-2/+3
| |/ | | | | | | Change-Id: I89fb74da5a516d0f768f72518a401216f8a5b1a8
* | am f0dda8d0: am 9661b09f: am 9956bb6a: Merge "Build changes necessary for ↵Stephen Hines2014-04-255-10/+21
|\ \ | |/ | | | | | | | | | | LLVM 3.5 switch." * commit 'f0dda8d0cbb249be24a71776289b1d9ebe17faaf': Build changes necessary for LLVM 3.5 switch.
| * Build changes necessary for LLVM 3.5 switch.Tim Murray2014-04-245-10/+21
| | | | | | | | | | | | | | Change-Id: Icb6065daada7cb1d7425206830a4ef9e23454c03 Conflicts: core/clang/arm.mk
* | am aabe27cc: am 9754735f: am db55f602: Merge "Switch to new host prebuilt ↵Andrew Hsieh2014-04-241-20/+23
|\ \ | |/ | | | | | | | | | | x86_64-linux-glibc2.11-4.6" * commit 'aabe27ccfd7f372d75426181eeeede4a7f908179': Switch to new host prebuilt x86_64-linux-glibc2.11-4.6
| * Switch to new host prebuilt x86_64-linux-glibc2.11-4.6Andrew Hsieh2014-04-231-20/+23
| | | | | | | | Change-Id: I763398d523bf4851a13722f72b12ec69d7a4bb4f
* | am ad60c86e: am f1a3d5e8: am 871bc703: Merge "Update build system for better ↵Ying Wang2014-04-232-5/+9
|\ \ | |/ | | | | | | | | | | Clang behavior on Mac." * commit 'ad60c86eda1a975d6966f414b4a7065d97e7505b': Update build system for better Clang behavior on Mac.
| * Update build system for better Clang behavior on Mac.Tim Murray2014-04-222-5/+9
| | | | | | | | Change-Id: I1813954681b670807d7e3faaf6d5f5a769cc5f2e
* | Update ASan configuration.Evgeniy Stepanov2014-04-161-2/+3
|/ | | | | | | Change runtime library name to keep in sync with upstream. Enable frame pointers in instrumented code for fast stack unwind. Change-Id: I815912bb856c56c399639ea76ad4cb6b97961840
* Always use prebuilt clang, even if we're explicitly building clang/LLVM.Tim Murray2014-04-011-5/+0
| | | | | | | | This is needed for self-hosting Clang/LLVM. bug 13588226 Change-Id: Ic98adc2b174b12ce046b7b65bbc28901a766a485
* Make Clang host builds hermetic on Linux.Tim Murray2014-03-244-10/+74
| | | | | | | | | This lays the groundwork for making builds hermetic on Darwin as well. That will be fixed in a future patch. bug 13435344 Change-Id: Iae82d0b9efad0598d682ff5fd4daa737aa607866
* Remove arm64 clang build warningYing Wang2014-03-182-9/+2
| | | | | | | | Now we have enabled arm64 clang. This change remvoed arm64 clang build warning and cleaned the arm64 unknow c flags. Change-Id: Ia583a78c6d364e603ff09df423aa34a6e03d0b9b
* Work in progress to enable build system support for Clang.Tim Murray2014-03-141-2/+2
| | | | Change-Id: I278b48bcd976afcbde8d86261da9b9b9efc9002c
* Split WITHOUT_CLANG to WITHOUT_HOST_CLANG and WITHOUT_TARGET_CLANGYing Wang2014-03-101-0/+8
| | | | | | | Still keep WITHOUT_CLANG, which enables both. Bug: 13402154 Change-Id: I32cb668223997719875751bf3d64f592d6086830
* Switch to LLVM 3.4 prebuilts in AOSP.Stephen Hines2014-02-191-6/+16
| | | | Change-Id: I064e953fb1bf69e7e321616647aab88dcc39af76
* Fix incorrect x86 build rules.Stephen Hines2014-02-131-0/+2
| | | | | | | | combo/TARGET_x86*.mk mistakenly added TARGET_GLOBAL_CFLAGS to their linker command lines. This results in clang builds not working properly, since they strip some unknown flags from TARGET_GLOBAL_CFLAGS. Change-Id: I60a1ff5df70305323134435e4ae107ea7acfe8ea
* fix 2nd target clang prebuilt pathsColin Cross2014-02-113-3/+3
| | | | Change-Id: I4c196221bd377e30bbff1aafa265952e29c85cb5
* Refactor llvm_config.mk and support the 2nd archYing Wang2014-02-0715-0/+640
1. Following the setup of gcc in build/core/combo/, we added the [HOST|TARGET]_<arch>.mk clang config files, and load only the configs needed by the current product. 2. Added support for the 2nd arch. Change-Id: I2a383418a9688a050b39492f8e489d40eeeb5f2d