summaryrefslogtreecommitdiffstats
path: root/core/clang/config.mk
Commit message (Collapse)AuthorAgeFilesLines
* am 07607526: am 63082eab: am b6874440: Merge "Add support for a partial ↵Dan Albert2015-04-171-0/+26
|\ | | | | | | | | | | | | ubsan build." * commit '07607526b8701f471869aecbd89fe4ea1990251e': Add support for a partial ubsan build.
| * Add support for a partial ubsan build.Dan Albert2015-04-171-0/+26
| | | | | | | | | | | | | | | | | | | | Some of the ubsan checks expose a few pathological performance cases in clang, and thus aren't suited to be used in SANITIZE_HOST. This mode is also supported on the target despite not having the target runtime libraries for ubsan by generating traps. Change-Id: I0b0f0a08ca84d72e44e2174a66726b1c5e5cad7e
* | am 3bc25d69: am 683a387e: am 4ed95088: Merge "Add support for ubsan."Dan Albert2015-04-151-1/+1
|\ \ | |/ | | | | | | * commit '3bc25d69580b5cdedd834fe6accf9cc27c0fb102': Add support for ubsan.
| * Merge "Add support for ubsan."Dan Albert2015-04-151-1/+1
| |\
| | * Add support for ubsan.Dan Albert2015-04-081-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rather than adding LOCAL_UB_SANITIZER, LOCAL_THREAD_SANITIZER, etc for each new sanitizer, deprecate LOCAL_ADDRESS_SANITIZER in favor of LOCAL_SANITZE that mirrors the behavior of -fsanitize=<sanitizers>. For example, the following will use both asan and ubsan: LOCAL_SANITIZE := address undefined We'll leave LOCAL_ADDRESS_SANITIZER around for compatibility until we can clean up the tree. Change-Id: I8a62315129d4753f8e992584ca6db1e5dfdd4d2a
* | | am 1a2fd2eb: am 05130993: am dbecad05: Merge "Use -Wno-format-pedantic to ↵Pirama Arumuga Nainar2015-04-101-0/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | disable overly aggressive format string warning." * commit '1a2fd2eb1ac5160feb020b65a030c9b2c66d5dfc': Use -Wno-format-pedantic to disable overly aggressive format string warning.
| * | Use -Wno-format-pedantic to disable overly aggressive format string warning.Stephen Hines2015-04-101-0/+5
| |/ | | | | | | | | | | | | | | | | Bug: 20148343 The latest clang warns on "%p" being used with non-void pointer types, which would require a great deal of cleanup in several sub-projects. Change-Id: I4175d5cf8709504455067c906a2eb8ccc8e25432
* | resolved conflicts for merge of e04e91b1 to masterElliott Hughes2015-04-031-4/+6
|\ \ | |/ | | | | Change-Id: I537065b0810ea8525401778824c4810c5e7ef433
| * Filter out gcc flags that are not recognized by clang.Chih-Hung Hsieh2015-04-021-2/+6
| | | | | | | | Change-Id: I04e95fc3b0cb2825bf90a55916f89d25fa9fc475
* | am 8f7338d9: am dc8d7092: am 0064c51e: Merge "Use prebuilt libclang_rt.profile."Dan Albert2015-04-021-0/+1
|\ \ | |/ | | | | | | * commit '8f7338d9b145379ea9c51b7e551509a2d8f0f24e': Use prebuilt libclang_rt.profile.
| * Use prebuilt libclang_rt.profile.Dan Albert2015-04-011-0/+1
| | | | | | | | | | Bug: 17574078 Change-Id: I4838cd5d125a0b2bf76aad2fdaef1ee3122687e8
* | am 95212b90: am 31f35975: am 9a98c47c: Merge "Don\'t warn on definition of ↵Stephen Hines2015-04-011-0/+5
|\ \ | |/ | | | | | | | | | | possibly reserved identifiers." * commit '95212b900b7a9a205d6f8b79dc3fcc07576c18cd': Don't warn on definition of possibly reserved identifiers.
| * Don't warn on definition of possibly reserved identifiers.Stephen Hines2015-03-251-0/+5
| | | | | | | | Change-Id: Icfcfa94aac0503c97dee0ff4d0cd49107201526d
* | Filter out gcc only flags.Chih-Hung Hsieh2015-03-191-0/+4
|/ | | | | | They are currently used in some vendor projects. Change-Id: Iff30966cba3b2941a8921cc35bb3ed1e4fea0bad
* Filter out unsupported flag: -fprefetch-loop-arraysChih-Hung Hsieh2015-03-051-0/+1
| | | | Change-Id: I55ba9045948a910ebd76c09f9f4ebb6b37eed1e7
* Let clang decide ASan linker flags for the host.Dan Albert2014-12-051-9/+2
| | | | | | | | | | | | Pass -fsanitize=address instead of manually specifying asan libraries and other linker flags. Note that we enable LOCAL_ALLOW_UNDEFINED_SYMBOLS by default for host builds because ASAN only links symbols in the final executable, so there will _always_ be undefined symbols in intermediate libraries. Bug: 18208352 Change-Id: Ief55ab296e94974560eeb10507ec8d90f0025d5c
* Switch to Clang 3.6.Stephen Hines2014-12-031-2/+8
| | | | | | | | This change also defaults C compilations with clang to gnu99, and turns off the -Winconsistent-missing-override flag, since we need further cleanup to turn it on. -finline-functions is an unnecessary flag that only gcc needs. Change-Id: I1cfcaedca32d9e3c248a6aa9460603205901c491
* Add more support for GLOBAL_CONLYFLAGS.Stephen Hines2014-12-011-0/+1
| | | | | | | This will be necessary to support -std=gnu99 mode for clang 3.6, which defaults to C11 mode (unlike prior releases that use C99). Change-Id: Iea84582f9f12ba76b988463cbc0a20bd61042538
* am 478eda53: Merge "FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT."Ying Wang2014-11-071-0/+5
|\ | | | | | | | | * commit '478eda5365f866c830f957d6bd1aba3854d55bcc': FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.
| * FORCE_BUILD_LLVM_COMPONENTS if HOST_PREFER_32_BIT.Ying Wang2014-11-061-0/+5
| | | | | | | | | | | | Because we don't have 32-bit prebuilt libLLVM/libclang. Change-Id: I86dac33e9bcbcb3d197f7d1e4c9d33bd4e7c473e
* | am 35e4ede5: Merge "Use automatic color option with the latest clang."Stephen Hines2014-11-041-2/+1
|\ \ | |/ | | | | | | * commit '35e4ede5974053d05ae0f8791e60ba77a31907b3': Use automatic color option with the latest clang.
| * Use automatic color option with the latest clang.Stephen Hines2014-11-031-2/+1
| | | | | | | | | | | | | | | | | | Bug: 18187181 Now that I checked in the latest prebuilts, clang will automatically use color on terminals and no color on redirection to files or non-terminals. Change-Id: I9be00c44947946cc18ce59c936b7f45d0ce2b6fc
* | am 871b8df1: Merge "Add -fcolor-diagnostics to global clang cflags."Ying Wang2014-10-301-1/+2
|\ \ | |/ | | | | | | * commit '871b8df128b144f39d40889e463722a032c4d246': Add -fcolor-diagnostics to global clang cflags.
| * Add -fcolor-diagnostics to global clang cflags.Ying Wang2014-10-301-1/+2
| | | | | | | | | | Bug: 18187181 Change-Id: Ifcbe34b685b1dfd7ffc801bcdad7bd8208e45f86
* | am 717ebfc1: Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."Chih-Hung Hsieh2014-10-281-0/+1
|\ \ | |/ | | | | | | * commit '717ebfc13182202ab38e17c0cd008924e9e5c4e9': Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.
| * Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.Chih-Hung Hsieh2014-10-231-0/+1
| | | | | | | | | | BUG: 18108271 Change-Id: Id929cad31340d2946027603c1c8c8fb1cb60f66a
* | Merge commit '66b3e31936b99436e01c473dca492126eea3e336' into HEADBill Yi2014-10-221-4/+5
|\ \ | |/ |/|
| * am cc0aa4da: am 28c265dd: Merge "We also need -rdynamic for host ASAN."Dan Albert2014-10-201-0/+2
| |\ | | | | | | | | | | | | * commit 'cc0aa4dabd4bae2b17bc9de8f88e04e862d030b2': We also need -rdynamic for host ASAN.
| * \ resolved conflicts for merge of 96c22133 to lmp-dev-plus-aospDan Albert2014-10-201-2/+8
| |\ \ | | | | | | | | | | | | Change-Id: I35a2f403e9e664536b45b5ac9185adf1e1a02442
| * \ \ am 56f688bc: Merge "Switch TBLGEN-related executables to use "BUILD_" ↵Stephen Hines2014-10-011-2/+2
| |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | instead of "HOST_"." into lmp-dev * commit '56f688bce5f3229f065a94446d049bc3a055b92b': Switch TBLGEN-related executables to use "BUILD_" instead of "HOST_".
| | * | | Switch TBLGEN-related executables to use "BUILD_" instead of "HOST_".Stephen Hines2014-09-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | Bug: 14416410 Change-Id: Ife2d7329795f229adcddc5c57b20aa96c56387c0
| | * | | 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 145eddfd: am 670018fd: Merge "Remove unnecessary ↵Stephen Hines2014-09-261-6/+0
| |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CLANG_CONFIG_EXTRA_*_C_INCLUDES variables." * commit '145eddfd229b118fadd4f4f255dbecc1a79b5e2b': Remove unnecessary CLANG_CONFIG_EXTRA_*_C_INCLUDES variables.
| * \ \ \ \ am 3041b7d1: am 3cf20570: Merge "Use new variable LLVM_PREBUILTS_VERSION to ↵Stephen Hines2014-09-261-2/+3
| |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | simplify path construction." * commit '3041b7d1f4f457082f8de50bba31adb479731d36': Use new variable LLVM_PREBUILTS_VERSION to simplify path construction.
| * \ \ \ \ \ am 9e59e663: am 90d5c7f6: Merge "Clang rejects -Wno-old-style-declaration flag."Chih-Hung Hsieh2014-08-271-8/+9
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '9e59e66373a68782179f5522d125c8617ecd92a6': Clang rejects -Wno-old-style-declaration flag.
| * \ \ \ \ \ \ am 0b97fd8a: am b699b0ea: Merge "Clang does not recognize -Wno-literal-suffix."Chih-Hung Hsieh2014-08-271-1/+2
| |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit '0b97fd8acef5d69b2f0abf19493ec5640bbd2085': Clang does not recognize -Wno-literal-suffix.
| * \ \ \ \ \ \ \ am 18c20aae: am aea1cae4: Merge "Revert "Revert "Introduce ↵Ying Wang2014-07-301-0/+11
| |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""" * commit '18c20aae44b5736b673c8776202e1e76b6bd81cd': Revert "Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.""
| * \ \ \ \ \ \ \ \ am bf4ac764: am 6be7d2e5: Merge "Revert "Introduce CC/CXX/JAVAC_WRAPPER to ↵Marcin Kosiba2014-07-281-11/+0
| |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrap the calls to clang."" * commit 'bf4ac764cdc7bf6b09e30b79ca6088ef17de9e07': Revert "Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang."
| * \ \ \ \ \ \ \ \ \ am 53e19fd4: am 45040bdb: Merge "Introduce CC/CXX/JAVAC_WRAPPER to wrap the ↵Ying Wang2014-07-261-0/+11
| |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | calls to clang." * commit '53e19fd4e259ea47e6b81b8472fbdc6041ca7044': Introduce CC/CXX/JAVAC_WRAPPER to wrap the calls to clang.
| * \ \ \ \ \ \ \ \ \ \ resolved conflicts for merge of 2812b27c to lmp-dev-plus-aospTim Murray2014-07-241-1/+2
| |\ \ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | Change-Id: I770fbf16affbd43b0750b50426298038e4b573b7
| * | | | | | | | | | | 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.
| * \ \ \ \ \ \ \ \ \ \ \ 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.
| * \ \ \ \ \ \ \ \ \ \ \ \ 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.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ 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
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am e50f2d9f: am 40b49d30: am a74ade94: Merge "Support host multilib build"Ying Wang2014-05-151-3/+6
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'e50f2d9f32a27d8290692dbf99ab8b247ef9d553': Support host multilib build
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am f0dda8d0: am 9661b09f: am 9956bb6a: Merge "Build changes necessary for ↵Stephen Hines2014-04-251-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | LLVM 3.5 switch." * commit 'f0dda8d0cbb249be24a71776289b1d9ebe17faaf': Build changes necessary for LLVM 3.5 switch.
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ am ad60c86e: am f1a3d5e8: am 871bc703: Merge "Update build system for better ↵Ying Wang2014-04-231-4/+4
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Clang behavior on Mac." * commit 'ad60c86eda1a975d6966f414b4a7065d97e7505b': Update build system for better Clang behavior on Mac.