Skip to content

Commit e5dc5b3

Browse files
committed
[aosp-clang][SQUASH] Truncate commit history
* This repository contains prebuilt Clang binaries provided by the Android Open Source Project. * As we are not directly involved in the development of the Clang toolchain, we have chosen to truncate the history into a single commit. Squashed commit of the following: commit f71cc7fa68ac644595257d6fdebc2e543cb7041c Author: Yabin Cui <[email protected]> Date: Wed Apr 29 10:54:45 2020 -0700 Update prebuilt Clang to r383902. clang 11.0.1 (based on r383902) from build 6443078. Bug: http://b/149839606 Test: N/A Change-Id: Id966d7b2cbaf3d2711a1e528c41a173ae28f6c11 commit 27fa4eeb5967e0bae5aef6de643739bef2a58726 Author: Yabin Cui <[email protected]> Date: Tue Apr 21 13:46:09 2020 -0700 Add profiles for clang-r383902 From build 6414985. Bug: 149839606 Test: none Change-Id: I3fc4614b30205133463b0b185fa089a1d67afa3f commit 7582db46ccb4bccfaa4eb9c7e58183727a7f66ca Author: Stephen Hines <[email protected]> Date: Fri Apr 10 17:21:04 2020 -0700 Update README.md for switch to clang-r377782d. Test: N/A Change-Id: Id0dc083ce7761977790aef5dd63f3b343ee42b32 commit c643f2087a1bbe92a89b25983e5a9bfad644d162 Merge: 7d388fca3 fc95f7e1e Author: Treehugger Robot <[email protected]> Date: Wed Apr 8 20:19:20 2020 +0000 Merge "Add information about clang-r377782d (and missed clang-r365631c1)." commit 7d388fca384c385fc95d5ee3b5ba06ff6ccf7832 Merge: b48af626d 334e13cef Author: Colin Cross <[email protected]> Date: Wed Apr 8 18:29:30 2020 +0000 Merge "Revert^2 "Use stl to depend on libc++"" commit fc95f7e1e19331cdb6b6ae59dd56d2a81594a304 Author: Stephen Hines <[email protected]> Date: Wed Apr 8 11:15:33 2020 -0700 Add information about clang-r377782d (and missed clang-r365631c1). Bug: http://b/153164546 Test: N/A Change-Id: I525c152c9497fd884f9d45db6002bb5eeefa4630 commit b48af626dc66f956cb9890aa8ea35e265719a4a9 Author: Yi Kong <[email protected]> Date: Wed Apr 8 17:26:20 2020 +0800 Update remote_toolchain_inputs of clang-r377782d Bug: b/153200080 Change-Id: I56b9d2385afd49b177f9c1a077a386f9acede68e commit 4e20d26c288c0f99aeda30c9d5adbe11c4756f83 Merge: 8816b3f7b c013e9459 Author: Treehugger Robot <[email protected]> Date: Tue Apr 7 20:04:52 2020 +0000 Merge "Update prebuilt Clang to r377782d." commit 334e13cef8263a43e8d5da6bcb23e56ee9b4ba9b Author: Colin Cross <[email protected]> Date: Tue Apr 7 16:50:32 2020 +0000 Revert^2 "Use stl to depend on libc++" 5e6547a6341cd783f81cf8c0c50b98ef1b23f4c3 Change-Id: I672932d20fc8153b594d87944068bd03bca94bcc commit 8816b3f7b7d927776d15b9cab7fb11cad8f999b5 Merge: fe17082c1 5e6547a63 Author: Colin Cross <[email protected]> Date: Tue Apr 7 04:25:34 2020 +0000 Merge "Revert "Use stl to depend on libc++"" commit 5e6547a6341cd783f81cf8c0c50b98ef1b23f4c3 Author: Colin Cross <[email protected]> Date: Tue Apr 7 04:21:21 2020 +0000 Revert "Use stl to depend on libc++" Revert "Use libnativewindow for platform variant of libRSSupport" Revert "Use libnativewindow for platform variant of android_nati..." Revert "Set sdk_version for cc_genrules used by modules with sdk..." Revert "Use sdk variant of Soong modules when LOCAL_SDK_VERSION ..." Revert "Add sdk mutator for native modules" Revert submission 1242911-sdk_version_variant Reason for revert: b/153394225 Reverted Changes: Ife99745fb:Use libnativewindow for platform variant of libagq... I1bae84c43:Use libnativewindow for platform variant of androi... I6e6021ed3:Use stl to depend on libc++ Ife99745fb:Use libnativewindow for platform variant of libRSS... I2c9f439b9:Fix static dependency on libprotobuf-cpp-lite-ndk Iff2aff9cf:Set sdk_version for cc_genrules used by modules wi... I7d72934aa:Add sdk mutator for native modules Ief378a007:Use sdk variant of Soong modules when LOCAL_SDK_VE... Bug: 149591340 Change-Id: Ic378c3075c04114196d107c41c20c19a264ebd40 Fixes: 153394225 commit fe17082c1981167512b0269781ea6842737b8dfe Merge: 1e11cb03e adda94c0a Author: Colin Cross <[email protected]> Date: Tue Apr 7 01:52:10 2020 +0000 Merge "Use stl to depend on libc++" commit 1e11cb03eb501b2d6ca4f2f86b83de280609e7c6 Author: Kousik Kumar <[email protected]> Date: Mon Apr 6 09:17:38 2020 -0700 Update remote_toolchain_inputs of current clang release Updating this file with: 1. Files needed for remote linking 2. Simplifying blacklist files by specifying the directory Change-Id: I876aaf8872503a1b1761ff7d86a428b16d8b4053 Bug: b/153200080 commit c013e9459821e16de10b14b8c03c090cf6640dbf Author: Stephen Hines <[email protected]> Date: Sat Apr 4 09:42:12 2020 -0700 Update prebuilt Clang to r377782d. clang 10.0.6 (based on r377782d) from build 6364210. Bug: http://b/153164546 Test: N/A Change-Id: Ibd6561617fa8b3bcf74fea465a5c8c4f2ab4d4f3 commit b621585fbf5768f795f1a202f18a28e58d7f2b4f Author: Stephen Hines <[email protected]> Date: Fri Mar 27 18:07:35 2020 -0700 Update prebuilt Clang to r365631c1. clang 9.0.8 (based on r365631c1) from build 6317467. Test: N/A Change-Id: I540d096e27fdc85a2e3a9ec8880679c5f9f0cc59 commit adda94c0ae4f0652ee3de964fe421c75149fc818 Author: Colin Cross <[email protected]> Date: Thu Mar 26 10:34:48 2020 -0700 Use stl to depend on libc++ sdk_version will now create an sdk variant, but the libc++ module does not have a matching sdk variant. Use the stl property instead, which will depend on the NDK libc++ for the sdk variant and the platform libc++ for the platform variant. Test: m Bug: 149591340 Change-Id: I6e6021ed3b415251594ca4305855a399c2df32c5 commit e8fdb9b594c08cc677411fe20d381fd9fae93694 Author: Yi Kong <[email protected]> Date: Thu Mar 26 10:26:54 2020 -0700 Remove clang-r353983c1. This is only ever used by QT QPR2. Test: TH Change-Id: I418825fec0e54e8c9cf6ec036a956dc7a22a193b commit ab0d33f38cde1018896119c02392fadc1b97fa15 Author: Yabin Cui <[email protected]> Date: Thu Mar 19 13:44:26 2020 -0700 Update LLVM binutils to r377782c. Test: N/A Bug: http://b/149849077 Change-Id: If188f86092de3bb0e731a459afb9e700d838d1ea commit 31726e2ec4368a3df8a6bfc329e6efa4632e5def Merge: 99a57e03e feca1ff8c Author: Yabin Cui <[email protected]> Date: Thu Mar 19 18:44:54 2020 +0000 Merge "Update clang-r377782c release notes." commit feca1ff8c43f592bf565c19833fbdcdef6a08f13 Author: Yabin Cui <[email protected]> Date: Thu Mar 19 10:59:35 2020 -0700 Update clang-r377782c release notes. Revert go wrapper. Move userspace to c build. Bug: 149849077 Test: none Change-Id: I580915cf880647965dca78f798d10f4a926c9adc commit 99a57e03ec6100787d672d09690b0cdd1ce86931 Author: Yabin Cui <[email protected]> Date: Wed Mar 18 10:44:25 2020 -0700 Update prebuilt Clang to r377782c. clang 10.0.5 (based on r377782c) from build 6305083. Bug: http://b/149849077 Test: N/A Change-Id: I860d157cff55ce398f7a843e2740494b18bf4816 commit 3571a32bad7b3ab9b05dcc64d066ef280bca2640 Merge: 73aca3069 3d4f3d4a1 Author: Treehugger Robot <[email protected]> Date: Thu Mar 12 19:19:34 2020 +0000 Merge "README: kernels are upgraded" commit 73aca30698953ed1f7db8470b44655911fb45358 Author: Yabin Cui <[email protected]> Date: Thu Mar 12 11:06:31 2020 -0700 Add clang-r377782c release notes. Bug: 149849077 Test: none Change-Id: I58dbf1854ece756698aebdca32bbe8f97ce327e1 commit 3d4f3d4a17c1d50048f193043916746504ad0049 Author: Nick Desaulniers <[email protected]> Date: Thu Mar 12 11:00:27 2020 -0700 README: kernels are upgraded Add more links to latest releases, too. Change-Id: I232cefdb5b03dc777875e1725a019bce92cb2cc9 commit 9c48a8f704e5d1915950f4a78582fa86e5595701 Author: Yabin Cui <[email protected]> Date: Wed Mar 11 10:28:30 2020 -0700 Update prebuilt Clang to r377782c. clang 10.0.5 (based on r377782c) from build 6284175. Bug: http://b/149849077 Test: N/A Change-Id: Ia28c5edf690ec7042d974069fa774d9d01db7e62 commit 2674dd1323ffe664218bca3f336647b3f92b32a2 Merge: 174ca011a 7f9228cf8 Author: Automerger Merge Worker <[email protected]> Date: Wed Mar 4 12:49:02 2020 +0000 Specify shared lib dependency of the clang runtime prebuilts am: 7f9228cf8f Change-Id: I80e2c85b18acf193c99dac87f80a0210e8e03bb1 commit 7f9228cf8f33c0ddafdd302bf55810b0ee79eba4 Author: Jiyong Park <[email protected]> Date: Wed Mar 4 14:26:22 2020 +0900 Specify shared lib dependency of the clang runtime prebuilts Some of the prebuilts have dependencies to other libs like libc++.so. Previously, since such dependencies are not shown in Android.bp file, the build system couldn't correctly gather the transitive set of dependencies for an APEX. Fixing the problem, by allowing the dependencies to be described in Android.bp file. Note that this change does not specify all the dependencies. To unblock b/149601533, only the dependencies from ubsan_standalone libraries are specified. Dependencies for other libs will follow. Bug: 149601533 Test: DIST_DIR=out/dist TARGET_BUILD_VARIANT=userdebug PRODUCT=mainline_modules_x86 EMMA_INSTRUMENT=true NATIVE_COVERAGE=true TARGET_BUILD_APPS="com.android.resolv" ./vendor/google/build/build_unbundled_coverage_mainline_module.sh -j110 And check that libc++ is in the APEX. Test: acloud create --build-target cf_x86_phone-userdebug --build-id 6118618 adb install --staged out/dist/mainline_modules_x86/com.android.resolv.apex adb reboot netd process isn't crashed. Merged-In: I57b9484e988f243cecd534d3cc75335546c43795 (cherry picked from commit f711c17e78f80127b4cae731572368f9df398188) Change-Id: I57b9484e988f243cecd534d3cc75335546c43795 commit 174ca011adc032fe491b8778c4cc4caa61d0e200 Merge: 42edd4ced debf6e0c1 Author: Automerger Merge Worker <[email protected]> Date: Mon Feb 24 18:20:36 2020 +0000 Update LLVM binutils to r377782b. am: debf6e0c18 Change-Id: Ie7ce0acc1772de10129727417382de7cd53609ac commit debf6e0c185a02a1cb43bc599c52d2b91445fb1b Author: Yi Kong <[email protected]> Date: Tue Feb 25 00:46:41 2020 +0800 Update LLVM binutils to r377782b. Test: N/A Change-Id: I9fa4d28bbee3bfd2a6ea52e57c3fd7a2769fee0c commit 42edd4cedb189c8d29d65c008cd92f58f222002b Merge: 8a47a19a0 50cfcf2a8 Author: Automerger Merge Worker <[email protected]> Date: Fri Feb 21 21:23:24 2020 +0000 Merge "ASAN/UBSan for host binary support." am: 50cfcf2a8e Change-Id: I95fbe8c4818a210f767caa4150fbd613f8b2abeb commit 50cfcf2a8ea668296939208657f0f05db9a00e11 Merge: 1c0f631b7 df1d70fdb Author: Ivan Lozano <[email protected]> Date: Fri Feb 21 21:16:17 2020 +0000 Merge "ASAN/UBSan for host binary support." commit df1d70fdb8bed2cca40c0a82471a79994e7242f7 Author: Ivan Lozano <[email protected]> Date: Tue Feb 18 15:55:46 2020 -0500 ASAN/UBSan for host binary support. Switch the host standalone libraries to shared libraries instead of static since we're not statically linking them, and add the x86 asan library as well. Bug: 148289941 Test: Sanitized host binaries build Change-Id: I31a965cc7bfd7de7d1dabad790a02cc12026da05 commit 8a47a19a09380b35011953abe1e110b10d78366c Merge: 06511c0cd 1c0f631b7 Author: Automerger Merge Worker <[email protected]> Date: Thu Feb 20 09:19:28 2020 +0000 Add clang-r377782b release notes am: 1c0f631b76 Change-Id: Iae53ef5c62e287e1263e34217f97edfad1a5753b commit 1c0f631b76b57de6125b8a982dde1869df4f557a Author: Chih-Hung Hsieh <[email protected]> Date: Wed Feb 19 20:29:58 2020 -0800 Add clang-r377782b release notes Bug: 149509676 Test: N/A Change-Id: If49364cb45fe4c9c43876c4ce1b4f6e35f586a02 commit 06511c0cd528b538b66e7c41cc3713575a86e7ab Merge: 1dca1b812 7f160d2c2 Author: Automerger Merge Worker <[email protected]> Date: Thu Feb 20 01:31:19 2020 +0000 Remove clang-r377782 am: 7f160d2c26 Change-Id: Ibaa6eb8696f74a1ba5fefb54760b20880dfa0787 commit 7f160d2c2642fbc496a1a10c283df9fc79f43bc2 Author: Chih-Hung Hsieh <[email protected]> Date: Wed Feb 19 13:38:26 2020 -0800 Remove clang-r377782 Bug: 149509676 Test: N/A Change-Id: I8057f99e61c3127b94833e12cf776ad9fcd46fbe commit 1dca1b812a39b825a1a829969cadb656c476fb59 Merge: d0d7bf8d1 18057dc14 Author: Chih-Hung Hsieh <[email protected]> Date: Fri Feb 14 20:34:33 2020 +0000 Update prebuilt Clang to r377782b. am: 18057dc14b Change-Id: Ib88948936cd11e20d512fa97a3783621ebe5d759 commit 18057dc14b7f4e7eb0bd2f314636ba499e8aae1a Author: Chih-Hung Hsieh <[email protected]> Date: Fri Feb 14 09:40:31 2020 -0800 Update prebuilt Clang to r377782b. clang 10.0.4 (based on r377782b) from build 6207600. Bug: http://b/149509676 Test: N/A Change-Id: I88771f780e99808b1f7fca8b5f4d93b94170a8cc commit d0d7bf8d145a0f02917f146587b38c96ced7a4fd Merge: 4f93e83da 301db3036 Author: Chih-Hung Hsieh <[email protected]> Date: Fri Feb 14 03:02:35 2020 +0000 Use 'git' instead of 'svn' suffix. am: 301db30368 Change-Id: I8384a562fda313b6a314df2a8cd75572bdaf6d8c commit 301db30368c931330b89db864e4e1fe594307ac9 Author: Chih-Hung Hsieh <[email protected]> Date: Thu Feb 13 14:56:34 2020 -0800 Use 'git' instead of 'svn' suffix. Bug: 145916209 Test: build unix target in aosp-clang-tools branch Change-Id: I9999583c8508d197f8909d39b376dea6e0646c38 commit 4f93e83da6ee9edcf35ee0e18155ec343cdb7544 Merge: 9d44e5644 656b9edc4 Author: Automerger Merge Worker <[email protected]> Date: Tue Feb 11 18:44:59 2020 +0000 Merge "Add UBSan runtime libraries for Host." am: 656b9edc46 Change-Id: I6f57ef73ed57afdf26edde71770791eb5678f29e commit 656b9edc4617162cf5004c5d70d97a99f493d4db Merge: c256bebbf 4a6901633 Author: Ivan Lozano <[email protected]> Date: Tue Feb 11 18:37:17 2020 +0000 Merge "Add UBSan runtime libraries for Host." commit 9d44e56445d01ba8d6e9118dac6258f68569d4b9 Merge: 87bddc6fb c256bebbf Author: Automerger Merge Worker <[email protected]> Date: Mon Feb 10 07:11:38 2020 +0000 Update prebuilt Clang to r377782. am: c256bebbf1 Change-Id: I96408e58af52ae32bd857e6f875b1e03c0ebd261 commit c256bebbf1d493c910d8eb8bbf80098768f57d99 Author: Chih-Hung Hsieh <[email protected]> Date: Sun Feb 9 21:01:53 2020 -0800 Update prebuilt Clang to r377782. clang 10.0.3 (based on r377782) from build 6194136. Bug: http://b/145916209 Test: N/A Change-Id: I50ee9555847e167b866a632c17e26ef62c2598bb commit 87bddc6fb71cdeece75991bfc4e390095e74380e Merge: 91e9f5e65 72736ab72 Author: Automerger Merge Worker <[email protected]> Date: Fri Feb 7 20:31:13 2020 +0000 Update prebuilt Clang to r377782. am: 72736ab720 Change-Id: Id398226fd37b4aa2d437bca0a33caeed068b162a commit 72736ab7205779ef81fe7297986d2bc571061668 Author: Chih-Hung Hsieh <[email protected]> Date: Fri Feb 7 08:07:45 2020 -0800 Update prebuilt Clang to r377782. clang 10.0.3 (based on r377782) from build 6189010. Bug: http://b/145916209 Test: N/A Change-Id: I85b409e01ea5ab4499fce1adc40f9110253721a8 commit 91e9f5e6550dff7b7de716b9a3104595393e3938 Merge: d0dbcab3a 1b222e3e4 Author: Automerger Merge Worker <[email protected]> Date: Fri Feb 7 03:10:44 2020 +0000 Add profiles for clang-r377782 am: 1b222e3e43 Change-Id: I341f56a1b10135f176431f41d3f46860bd784549 commit 1b222e3e43d8ceb2cc772307991cc6913f899e73 Author: Chih-Hung Hsieh <[email protected]> Date: Thu Feb 6 16:11:58 2020 -0800 Add profiles for clang-r377782 From build 6188056 Bug: http://b/145916209 Change-Id: I661c5bcefaebd30e5a2fe1ec8cc2f2bc8cd7518c commit 4a6901633673209ccdf3d86e581575d955934dac Author: Ivan Lozano <[email protected]> Date: Wed Jan 29 11:02:05 2020 -0500 Add UBSan runtime libraries for Host. Bug: 148289941 Test: Build host binary with integer overflow sanitizer enabled. Change-Id: I8c5a45898c003fa2cb1e421b1c57571be1359eca commit d0dbcab3a87c13d9bbaad63776431174f07f51a7 Merge: 8effd4d7f 280c4da2f Author: Automerger Merge Worker <[email protected]> Date: Fri Jan 31 01:49:06 2020 +0000 Update prebuilt Clang to r370808b. am: 280c4da2f1 Change-Id: Ie810675365779a267cf46f723f838789740b3e96 commit 8effd4d7f74779b271872ae31fe1131145c96014 Merge: 95f07b57e 306a2cb65 Author: Automerger Merge Worker <[email protected]> Date: Thu Jan 30 18:01:09 2020 +0000 Merge "clang: remove clang-r365631b prebuilt" am: 306a2cb651 Change-Id: I387fdbe78f92e144f2559b55569cb2cc39fe5e16 commit 280c4da2f19c6e72ff0e127c99ef379df051570f Author: Stephen Hines <[email protected]> Date: Thu Jan 30 08:49:25 2020 -0800 Update prebuilt Clang to r370808b. clang 10.0.2 (based on r370808b) from build 6170260. Bug: http://b/147628579 Test: N/A Change-Id: I1793fbbcc25c4ce091405b8dff922b217c576813 commit 306a2cb6517e82f0ae643cb3c7ea5388a215f356 Merge: 91366c238 c6c5bf229 Author: Treehugger Robot <[email protected]> Date: Wed Jan 29 23:17:31 2020 +0000 Merge "clang: remove clang-r365631b prebuilt" commit 95f07b57edadef1d280aefbd9419c26ce27b02be Merge: c3d9d6240 91366c238 Author: Colin Cross <[email protected]> Date: Tue Jan 28 18:47:04 2020 -0800 Mark libclang_rt.ubsan_standalone as ramdisk_available am: 91366c238d Change-Id: I0eca3583bbadb63e5d372ffe6643d42311eba993 commit 91366c238d5963ea29fe36262b0864dc3748ed46 Author: Colin Cross <[email protected]> Date: Tue Jan 28 16:41:10 2020 -0800 Mark libclang_rt.ubsan_standalone as ramdisk_available libclang_rt.ubsan_standalone shouldn't ever end up on the ramdisk, but it needs to be marked ramdisk_available because we create shared variants of cc_library modules that have ramdisk_available: true. The shared variants may be necessary to supply headers to static libraries. Fixes: 147737474 Test: m checkbuild Change-Id: Id00abdc850a87c22a27f43f1aa43bbe3a714a9df commit c3d9d6240fb8953cc0a6b27151f3030b4d9959cb Merge: e4a767cc4 bc3801d55 Author: Yifan Hong <[email protected]> Date: Fri Jan 24 16:37:59 2020 -0800 Shared libclang_rt.hwasan-aarch64-android is ramdisk_available am: bc3801d553 Change-Id: Ia16e4fe5e3fd88a292563ec8aa65c6684cc534cf commit e4a767cc4cbc27958098aeadfd065d27a2787450 Merge: 8d97e8984 474d2b30b Author: Yifan Hong <[email protected]> Date: Fri Jan 24 16:37:40 2020 -0800 Add ramdisk_available am: 474d2b30b6 Change-Id: If1d77e04a7f25c322bc3136a07fb50dbba55bec8 commit bc3801d553c61aef2def38462ec2fddd6387a066 Author: Yifan Hong <[email protected]> Date: Thu Jan 23 14:34:36 2020 -0800 Shared libclang_rt.hwasan-aarch64-android is ramdisk_available This is needed for libc's dependency on it. When a binary is built, the correct runtime library is chosen depending on whether the binary is static or dynamic. Bug: 147347110 Test: TH Change-Id: I23fd9afc58ace63d92e7609de42369ef8ccfb4a3 commit 474d2b30b615a941455e09cd9915b97e150baa67 Author: Yifan Hong <[email protected]> Date: Tue Jan 21 16:41:41 2020 -0800 Add ramdisk_available ... to all static libs that are already marked as recovery_available. Test: pass Bug: 147347110 Change-Id: I021e56f6dd844e372741d23d714e88f24207881d commit 8d97e89844fc892a9b6be5f6f03bdb5c3ebfa726 Merge: 5026b2662 fdc7edd08 Author: Jiyong Park <[email protected]> Date: Wed Jan 22 15:00:26 2020 -0800 Make all libclang_rt* libraries be available to APEXes am: fdc7edd086 Change-Id: Ie4d4cbed8a0fcb6f9c542761ffc59611658f778b commit fdc7edd086b650e0d513e5809fa0bcfef2d171d6 Author: Jiyong Park <[email protected]> Date: Mon Jan 20 14:18:05 2020 +0900 Make all libclang_rt* libraries be available to APEXes The default value of apex_available property is now '//apex_available:platform' which means a module is by default available only to the platform and not to any APEX. Since these libclang_rt* libraries are required for various types of sanitized builds and are included in the APEX, they should be available to APEXes. Bug: 147893384 Test: SANITIZE_HOST=address SANITIZE_TARGET='hwaddress fuzzer' build/soong/soong_ui.bash --make-mode -j80 TARGET_PRODUCT=blueline_hwasan dist Change-Id: Ic147098e7d23889f89d78872fdb4a4fe9e942743 commit 5026b266220798ebf3e47f7a41b4e6c4437a3950 Merge: 8b786bd8c e2a5ed02d Author: Xin Li <[email protected]> Date: Wed Jan 15 15:59:15 2020 -0800 DO NOT MERGE - Empty merge qt-qpr1-dev-plus-aosp-without-vendor (6129114) into stage-aosp-master Bug: 146167222 Change-Id: I40dd6dbb7fdca12e36d80cdcad689d7baa61b632 commit 8b786bd8cc59529528922143abeef7c2d482bdbb Merge: ce1019d8f 4ca031977 Author: Nick Desaulniers <[email protected]> Date: Tue Jan 14 17:28:09 2020 -0800 readme: update emulator version am: 4ca031977e Change-Id: Ic9eecbe04960707ed87029c3fc88dd79edf00f06 commit c6c5bf22994539ab68f53c54cbaf1947117848bd Author: Nick Desaulniers <[email protected]> Date: Tue Jan 14 14:08:11 2020 -0800 clang: remove clang-r365631b prebuilt No longer has any users. Change-Id: I09219d4275b81c5aff3a8562abfd341300303d8e Signed-off-by: Nick Desaulniers <[email protected]> commit 4ca031977e25dc948c4f5bdf941a77e39f43fb37 Author: Nick Desaulniers <[email protected]> Date: Tue Jan 14 13:51:17 2020 -0800 readme: update emulator version This was upgraded in aosp/1182879. Test: N/A Bug: 139945549 Change-Id: Ie3a1f0ad996b8a73a57846c5379f2e0667f67532 Signed-off-by: Nick Desaulniers <[email protected]> commit ce1019d8fb895bc6ec1bdd0fb456ec1bb947f1f6 Merge: ce89bb43d 32eef2c67 Author: Nick Desaulniers <[email protected]> Date: Mon Jan 13 11:01:50 2020 -0800 Merge "README: update stage1, add beagle-x15 clang versions" am: 32eef2c67c Change-Id: I5de92cb7091d8e7e5345a5f5af06d49e13632a6e commit 32eef2c67c5ac6d13e4ef53d859b3a9cef919d33 Merge: d4e32fb75 afe0f6588 Author: Treehugger Robot <[email protected]> Date: Mon Jan 13 18:43:34 2020 +0000 Merge "README: update stage1, add beagle-x15 clang versions" commit afe0f65889b205886362bbcb3234d013a101c153 Author: Nick Desaulniers <[email protected]> Date: Thu Jan 9 09:47:50 2020 -0800 README: update stage1, add beagle-x15 clang versions Bug: 147296060 Change-Id: I3493f56a25389932a6e5a8a3d7296ac8b872c1e4 Signed-off-by: Nick Desaulniers <[email protected]> commit e2a5ed02d99f1649836d6a97d6117a547128bea4 Merge: cf2b2f770 ce89bb43d Author: Automerger Merge Worker <[email protected]> Date: Tue Jan 7 22:26:16 2020 +0000 Merge "RELEASE_NOTES: add note about const write" am: d4e32fb752 am: ce89bb43d2 Change-Id: I13ab8e486569d77d2abf1f547b8162ea6c711efa commit ce89bb43d2620e3ebd2cb6a757e93fdf2ab25d10 Merge: b232f0bd3 d4e32fb75 Author: Nick Desaulniers <[email protected]> Date: Tue Jan 7 14:09:36 2020 -0800 Merge "RELEASE_NOTES: add note about const write" am: d4e32fb752 Change-Id: I4f350999675b166cbf9995bba1617057dcf6d893 commit d4e32fb7525624aaaa267d4271227bde490fede2 Merge: 1359ab01c bd4abf233 Author: Treehugger Robot <[email protected]> Date: Tue Jan 7 21:03:41 2020 +0000 Merge "RELEASE_NOTES: add note about const write" commit cf2b2f77048d19dc5b5a9d49d8346747cc0420f2 Merge: a377bf712 b232f0bd3 Author: Automerger Merge Worker <[email protected]> Date: Tue Jan 7 20:32:55 2020 +0000 README: update clang versions for keymaster+emu am: 1359ab01c0 am: b232f0bd3b Change-Id: I9b3760bf765fa5b648e6f1d635e3005e24751844 commit b232f0bd3baf3fd5ff49e930e331890244e2a85b Merge: a95e5bde7 1359ab01c Author: Nick Desaulniers <[email protected]> Date: Tue Jan 7 12:21:32 2020 -0800 README: update clang versions for keymaster+emu am: 1359ab01c0 Change-Id: I6d6ea7ed3785b9f613d16ec6c6f880f096c6ae20 commit 1359ab01c017a824eb1f83ccf47a8321a8203bd3 Author: Nick Desaulniers <[email protected]> Date: Tue Jan 7 10:41:13 2020 -0800 README: update clang versions for keymaster+emu Was fixed in aosp/1182945. Bug: 1182945 Change-Id: I6ab665019ab21bf821da2ab641af5489e2697ebb Signed-off-by: Nick Desaulniers <[email protected]> commit bd4abf23311c3c131bde0e9a587ecd4af0755f12 Author: Nick Desaulniers <[email protected]> Date: Tue Jan 7 09:21:27 2020 -0800 RELEASE_NOTES: add note about const write Bug: 139945549 Change-Id: I3152095da4bfa1a0cd06821f056068a0701b869f Signed-off-by: Nick Desaulniers <[email protected]> commit a377bf712bd7bbfa021faa36a983db995f6cd845 Merge: 16dfbc237 a95e5bde7 Author: Automerger Merge Worker <[email protected]> Date: Fri Jan 3 18:11:22 2020 +0000 Merge "Add toolchain inputs text file describing remote toolchain inputs to latest clang version" am: 5ce3025475 am: a95e5bde7f Change-Id: I4e4a58154f48c0167d88db5282507cfca4a23e58 commit a95e5bde7f34c0d2e6c57303e5d3dc2586990a8d Merge: 04033ed80 5ce302547 Author: Kousik Kumar <[email protected]> Date: Fri Jan 3 10:02:49 2020 -0800 Merge "Add toolchain inputs text file describing remote toolchain inputs to latest clang version" am: 5ce3025475 Change-Id: Ie5e9e4bac51abf4306080c1d9bd2864ca39815cc commit 5ce3025475e53d62be50f2b1b67cd0385e9328a6 Merge: 5ac6ee43d fd5344729 Author: Kousik Kumar <[email protected]> Date: Fri Jan 3 17:50:45 2020 +0000 Merge "Add toolchain inputs text file describing remote toolchain inputs to latest clang version" commit 16dfbc23715a6fc91f2af29bcb03b86a6ce53dd9 Merge: e2e39513b 04033ed80 Author: Automerger Merge Worker <[email protected]> Date: Tue Dec 31 02:15:41 2019 +0000 Add owners of build/soong as additional owners for soong directory am: 5ac6ee43d1 am: 04033ed80e Change-Id: Id74f696da821fc4ac8dd02f6f93c7216cb2b9432 commit 04033ed80ee41d7eda76d4df3bf7b773596bdb5a Merge: 527aeba0b 5ac6ee43d Author: Colin Cross <[email protected]> Date: Mon Dec 30 18:03:39 2019 -0800 Add owners of build/soong as additional owners for soong directory am: 5ac6ee43d1 Change-Id: I08f5f83e06ea91ad32562450012482659d98ee6a commit 5ac6ee43d1c59d655e5d28e3c0ee737cfb51913c Author: Colin Cross <[email protected]> Date: Mon Dec 30 16:17:59 2019 -0800 Add owners of build/soong as additional owners for soong directory Test: none Change-Id: I6bc2953e8e35b1fe48b0b375d02b05499b881f29 commit fd5344729762de520e7af3cbff9150c80d8501c7 Author: Kousik Kumar <[email protected]> Date: Fri Dec 27 10:52:36 2019 -0800 Add toolchain inputs text file describing remote toolchain inputs to latest clang version Test: Ran a small script to make sure all these files exist for f in `cat remote_toolchain_inputs`; > do > ls $f > done clang clang++ clang.real clang++.real ../lib64/libc++.so.1 ../lib64/clang/10.0.1/share/cfi_blacklist.txt Change-Id: I9a52ffc8994c13a2a6bb13f7bf2bb9ce55096a47 commit e2e39513b95f381072b7a87567ad64c685635346 Merge: 69b8e7fcc 527aeba0b Author: Automerger Merge Worker <[email protected]> Date: Tue Dec 17 23:15:28 2019 +0000 readme: update current versions list am: 0d3a06b3f5 am: 527aeba0b0 Change-Id: I50718bc4cac5d0f55d511a2613e048ceb8ae057a commit 527aeba0b0e1a0f6edb7c1b5bb24baa94d5c8bb1 Merge: 31477869e 0d3a06b3f Author: Nick Desaulniers <[email protected]> Date: Tue Dec 17 13:59:06 2019 -0800 readme: update current versions list am: 0d3a06b3f5 Change-Id: I0b6f4bba664f92701548a9bafda8b3bbd8994fa7 commit 0d3a06b3f58c9093ec5b4fb9ebb3ad0ab2d2e489 Author: Nick Desaulniers <[email protected]> Date: Tue Dec 17 11:04:44 2019 -0800 readme: update current versions list Bug: 139945549 Test: N/A Change-Id: I65a2ea90339d7a12791c066bcd4a4e588d36f8f8 Signed-off-by: Nick Desaulniers <[email protected]> commit 69b8e7fcc6a86dcfed01a4720208df37b6a9b78a Merge: ca4e26f05 31477869e Author: Automerger Merge Worker <[email protected]> Date: Wed Dec 11 21:57:12 2019 +0000 [README.md] OpenJDK rolled back to r353983c compiler am: a2c23634d4 am: 31477869e6 Change-Id: I9abbf38318f890394e697f47ffa819d2bd36fa6a commit 31477869e67fb0ecab29619e2be6c9abf3d0080c Merge: 1674de515 a2c23634d Author: Yi Kong <[email protected]> Date: Wed Dec 11 13:40:31 2019 -0800 [README.md] OpenJDK rolled back to r353983c compiler am: a2c23634d4 Change-Id: I8d3d559af9d347954d885844cebee645dced1730 commit a2c23634d48c0b37e5c4c08cebc95d78e9e93f5f Author: Yi Kong <[email protected]> Date: Wed Dec 11 13:32:02 2019 -0800 [README.md] OpenJDK rolled back to r353983c compiler Change-Id: Ia9f9363f0ea1be162aa4816f3d7d5a59243c7793 commit ca4e26f052806b7b8443f89fa8c9e98b339969c5 Merge: 885ca9f72 1674de515 Author: Logan Chien <[email protected]> Date: Mon Dec 9 10:49:01 2019 -0800 Merge "Do not strip libclang_cxx on darwin" am: 0c998b67ff am: 1674de5159 Change-Id: Ic447a67e6eedb9cbcc1c6b8e3cf84a7a2d06d426 commit 1674de51594309dfd0b4be6e7f03db0ceb4c7495 Merge: 665f17569 0c998b67f Author: Logan Chien <[email protected]> Date: Mon Dec 9 10:47:06 2019 -0800 Merge "Do not strip libclang_cxx on darwin" am: 0c998b67ff Change-Id: Idcc8bec95b9487d0a060c9dec0388b1e73fb9277 commit 0c998b67ff7d98ce0fbbdbfc3ba1f98d67c6ad50 Merge: a11cc15fc 2d7e64323 Author: Logan Chien <[email protected]> Date: Mon Dec 9 18:34:17 2019 +0000 Merge "Do not strip libclang_cxx on darwin" commit 2d7e6432302d07af56f4560e91db606eaaaa989b Author: Logan Chien <[email protected]> Date: Fri Dec 6 15:00:09 2019 -0800 Do not strip libclang_cxx on darwin This commit disables the strip command on libclang_cxx.dylib because the strip command emits the following error: strip: symbols referenced by indirect symbol table entries that can't be stripped in: [...]/darwin-x86/clang-r370808/lib64/libclang_cxx.dylib This CL should fix the current build error. Bug: 139945549 Test: OUT_DIR=out && \ development/vndk/tools/header-checker/android/build-prebuilts.sh Change-Id: Id3a2c58e56ad36121f0adf3cfce0210c82163077 commit 885ca9f720aee334aacc39cd17289bf8732c0b27 Merge: 67ef145c6 c2fe595c4 Author: Android Build Merger (Role) <[email protected]> Date: Fri Dec 6 23:08:05 2019 +0000 Merge "Merge "Remove clang-r353983d." am: a11cc15fca am: 665f175696" into qt-qpr1-dev-plus-aosp commit c2fe595c40780320390ebbe1fe64ae7867a5d7c5 Merge: f508f6d9b 665f17569 Author: Yi Kong <[email protected]> Date: Fri Dec 6 15:07:14 2019 -0800 Merge "Remove clang-r353983d." am: a11cc15fca am: 665f175696 Change-Id: I0fc37f1db142fc39e57e79a4abb9eb7620d505cd commit 67ef145c65e0964ae797479b4ee5af467b5bddb8 Merge: f508f6d9b f3bab93ac Author: Automerger Merge Worker <[email protected]> Date: Fri Dec 6 23:07:03 2019 +0000 [automerger skipped] Update prebuilt Clang to r353983c1. am: f3bab93ac0 -s ours am skip reason: Change-Id Ie638194a231d9fb6b10a2727b12e4351a87b3f32 with SHA-1 009e7912f8 is in history Change-Id: I5f96a9458be8254df6b20183fdf54e0212eebff1 commit 665f175696458bfe6482b46325dab9b2499b119f Merge: e6d35f06d a11cc15fc Author: Yi Kong <[email protected]> Date: Fri Dec 6 15:03:05 2019 -0800 Merge "Remove clang-r353983d." am: a11cc15fca Change-Id: I8eb3c843bcb89b1c0c54958d0b818826ecb6bcf9 commit a11cc15fca56b3dae116471edcc01c8d434d49eb Merge: eeb89224a 3e48c01af Author: Yi Kong <[email protected]> Date: Fri Dec 6 22:58:02 2019 +0000 Merge "Remove clang-r353983d." commit f508f6d9b1fe6f35ec04d728d4507e2bbd0e898f Merge: 09b9f049e e6d35f06d Author: Nick Desaulniers <[email protected]> Date: Fri Dec 6 13:34:01 2019 -0800 Merge "Update LLVM binutils to r370808." am: eeb89224a6 am: e6d35f06d3 Change-Id: I6141e567aa4bb8ab83901909e04938d54c4d285c commit e6d35f06d3310c8724d46c150d407213458c3b35 Merge: 94745a250 eeb89224a Author: Nick Desaulniers <[email protected]> Date: Fri Dec 6 13:31:13 2019 -0800 Merge "Update LLVM binutils to r370808." am: eeb89224a6 Change-Id: Ibdd0fb3cfcc45e5c1b23c091ff4db615a75949f1 commit eeb89224a69f9df9143edd5ec2641e6a6bc47e29 Merge: 66c07da42 4d36778d4 Author: Treehugger Robot <[email protected]> Date: Fri Dec 6 21:23:01 2019 +0000 Merge "Update LLVM binutils to r370808." commit f3bab93ac0f11f0c348b278a657c4c7ac425d628 Author: Yi Kong <[email protected]> Date: Fri Dec 6 13:08:01 2019 -0800 Update prebuilt Clang to r353983c1. clang 9.0.3 (based on r353983c1) from build 6052599. Bug: 145023753 Test: N/A Change-Id: Ie638194a231d9fb6b10a2727b12e4351a87b3f32 Merged-In: Ie638194a231d9fb6b10a2727b12e4351a87b3f32 (cherry picked from commit 009e7912f87e7319424670adeab77cf82ff9cd63) commit 09b9f049e5dd7c8e00a2979a86b67d4d2a0adb23 Merge: 821b6240b 94745a250 Author: Yi Kong <[email protected]> Date: Fri Dec 6 04:24:20 2019 -0800 Merge "Update prebuilt Clang to r353983c1." am: 66c07da421 am: 94745a2505 Change-Id: Ifc903ba2be8603704c510de81bd17804171703c9 commit 94745a2505bb0497b885209bd34fe02af7d9d54a Merge: e99cb2a16 66c07da42 Author: Yi Kong <[email protected]> Date: Fri Dec 6 04:16:36 2019 -0800 Merge "Update prebuilt Clang to r353983c1." am: 66c07da421 Change-Id: I1092656251a1ea87de7e0050e4bd6c2e0c7ad542 commit 66c07da421910d3fccd238b5f320cb4785ea292e Merge: 4b26744b5 009e7912f Author: Yi Kong <[email protected]> Date: Fri Dec 6 11:59:47 2019 +0000 Merge "Update prebuilt Clang to r353983c1." commit 009e7912f87e7319424670adeab77cf82ff9cd63 Author: Yi Kong <[email protected]> Date: Fri Dec 6 03:35:02 2019 -0800 Update prebuilt Clang to r353983c1. clang 9.0.3 (based on r353983c1) from build 6052599. Test: N/A Change-Id: Ie638194a231d9fb6b10a2727b12e4351a87b3f32 commit 821b6240b9c238f4b1e438e7159fe8a7f80aadd2 Merge: ac7c54c7a e99cb2a16 Author: Nick Desaulniers <[email protected]> Date: Thu Dec 5 18:23:28 2019 -0800 Merge "README: update note about r370808 platform usage" am: 4b26744b5a am: e99cb2a162 Change-Id: Ife9263a669b858e9988ad3d59617c5bfe393cea3 commit e99cb2a162ab51353d1529e2d2504557fa3e2fd1 Merge: 336cf8da9 4b26744b5 Author: Nick Desaulniers <[email protected]> Date: Thu Dec 5 18:19:34 2019 -0800 Merge "README: update note about r370808 platform usage" am: 4b26744b5a Change-Id: Ia373fd7f5c1a72965a0d1141e4aa4b60ed1dfa5e commit 4b26744b5aa1ffe0197f55bb9aba21d9cd7f4f2e Merge: 4c9135a5e 02b62fbe0 Author: Treehugger Robot <[email protected]> Date: Fri Dec 6 02:11:51 2019 +0000 Merge "README: update note about r370808 platform usage" commit ac7c54c7ad791aa2ce9c6f458f91c8d0841cff03 Merge: c93b14b62 336cf8da9 Author: Yi Kong <[email protected]> Date: Thu Dec 5 16:02:57 2019 -0800 README: Add Android Rust section am: 4c9135a5e4 am: 336cf8da92 Change-Id: Id68506e4bf9f3b3283b2ba9dc0cbae0b94ca4c8d commit 336cf8da92c3800be01033b324188923d1dd21e0 Merge: 75735d17e 4c9135a5e Author: Yi Kong <[email protected]> Date: Thu Dec 5 15:54:15 2019 -0800 README: Add Android Rust section am: 4c9135a5e4 Change-Id: If71b78de61913e8b0f3990368d2200e4923e15a2 commit 4c9135a5e40d73bfbffe6727f9ddda5096d1489d Author: Yi Kong <[email protected]> Date: Thu Dec 5 15:40:21 2019 -0800 README: Add Android Rust section Change-Id: I62524b644d8063ee73bf4de4a913ab51ea56b5e1 commit 4d36778d4efa359fd4a8eedd0d89e07b5f50aaf6 Author: Nick Desaulniers <[email protected]> Date: Thu Dec 5 14:49:24 2019 -0800 Update LLVM binutils to r370808. Test: N/A Bug: http://b/139945549 Change-Id: Ia7c653b23eb4360a245e92f453dc717aefc7c7c7 commit 02b62fbe0080ae47c1f45abbfe199868d95f37d2 Author: Nick Desaulniers <[email protected]> Date: Thu Dec 5 13:01:19 2019 -0800 README: update note about r370808 platform usage Bug: 139945549 Test: N/A Change-Id: I97db0bb51a44ede794a59ec4c70a3098b98bd602 Signed-off-by: Nick Desaulniers <[email protected]> commit c93b14b62011126c50b0e826810abb46ab2e42d6 Merge: b51a2423d 75735d17e Author: Nick Desaulniers <[email protected]> Date: Thu Dec 5 14:02:47 2019 -0800 Merge "update clang-r370808 release notes" am: e523470536 am: 75735d17e1 Change-Id: I826634d5ee13b726440fb2b7355d59237a6c8ec0 commit 75735d17e1ca261cc105497a2218f51b8baf6b36 Merge: 84cdb03a7 e52347053 Author: Nick Desaulniers <[email protected]> Date: Thu Dec 5 13:57:05 2019 -0800 Merge "update clang-r370808 release notes" am: e523470536 Change-Id: Ied561b5719aeba61280b4c1e9604cb4aade11740 commit e5234705366393f99ecc49431dae05388d3fa72f Merge: 39e7c63aa d6d01b6d3 Author: Treehugger Robot <[email protected]> Date: Thu Dec 5 21:44:31 2019 +0000 Merge "update clang-r370808 release notes" commit b51a2423d2b514b6eaec6b14b7d9aebfc812368c Merge: 27bf5a4a3 84cdb03a7 Author: Stephen Hines <[email protected]> Date: Thu Dec 5 09:57:44 2019 -0800 Update prebuilt Clang to r370808. am: 39e7c63aa6 am: 84cdb03a74 Change-Id: I72b96833b6b1fa0798cdfbd764e361981310a6ae commit 84cdb03a74dc8480f87ba63aaf1574141b3c8f66 Merge: 99f13ba60 39e7c63aa Author: Stephen Hines <[email protected]> Date: Thu Dec 5 09:51:03 2019 -0800 Update prebuilt Clang to r370808. am: 39e7c63aa6 Change-Id: I423dc30caa53adf06d0d1d00f43c00faa4abb5c0 commit d6d01b6d3c17d60f4f57302018859b1327d9063d Author: Nick Desaulniers <[email protected]> Date: Thu Dec 5 09:42:22 2019 -0800 update clang-r370808 release notes Bug: 139945549 Test: N/A Change-Id: Id9931f67660e309a3a52d348769ba3652ba30679 Signed-off-by: Nick Desaulniers <[email protected]> commit 39e7c63aa6239ae92d63913c82bbe1e9e44b4013 Author: Stephen Hines <[email protected]> Date: Thu Dec 5 09:00:37 2019 -0800 Update prebuilt Clang to r370808. clang 10.0.1 (based on r370808) from build 6051079. Bug: http://b/139945549 Test: N/A Change-Id: I531ef39ed4b5f20487b243572fadcee16a2aa14f commit 3e48c01af86f2cebde320d901fe7a8cb29643436 Author: Yi Kong <[email protected]> Date: Wed Dec 4 23:14:08 2019 -0800 Remove clang-r353983d. Test: presubmit Change-Id: I05baa8561795e07620eab37f6ed3842264faf459 commit 27bf5a4a3acdef47c37a28c053f40acfd8350c2c Merge: 28eea164a 99f13ba60 Author: Yi Kong <[email protected]> Date: Wed Dec 4 19:16:34 2019 -0800 Merge "README: Update CHRE and jdk Clang version" am: 897965934d am: 99f13ba609 Change-Id: I53d3038ee30ce7da937c85f9ee37e201820b1951 commit 99f13ba609bf4ed9ae5558fc1454d34c38ebcf28 Merge: b3b3292b2 897965934 Author: Yi Kong <[email protected]> Date: Wed Dec 4 19:13:40 2019 -0800 Merge "README: Update CHRE and jdk Clang version" am: 897965934d Change-Id: I343e8e07999ef708774e5d318fd17224d6bf6131 commit 897965934d5107db26a4e8760add7becdfe1c629 Merge: b3b3292b2 1c94d7747 Author: Yi Kong <[email protected]> Date: Thu Dec 5 03:02:46 2019 +0000 Merge "README: Update CHRE and jdk Clang version" commit 1c94d7747ae25c269a5d6b136b9d61a83b8615b3 Author: Yi Kong <[email protected]> Date: Wed Dec 4 19:01:41 2019 -0800 README: Update CHRE and jdk Clang version Change-Id: I6a87d23908c918ac1f91411740bfcda45ca02159 commit 28eea164af3adf8b6812eb92f46c63ebdc113b3b Merge: cdf204f91 64a2068f4 Author: Yi Kong <[email protected]> Date: Tue Nov 26 20:04:44 2019 -0800 [automerger skipped] Update prebuilt Clang to r353983d. am: 64a2068f45 -s ours am skip reason: SHA1 64a2068f45 skipped by user yikong Change-Id: I84f6190b94bbedea1166066824ddd273f918322b commit cdf204f91607be11498e322f1635a52bc86c5b4e Merge: bb2a6c598 b3b3292b2 Author: Nick Desaulniers <[email protected]> Date: Tue Nov 26 02:03:51 2019 -0800 Update prebuilt Clang to r370808. am: 5df447b582 am: b3b3292b28 Change-Id: I23323f4f894e9f586230d2e3d8de63df271d7cb4 commit 64a2068f4553e6dc5dc9b26008d183ccc700ca6e Author: Yi Kong <[email protected]> Date: Tue Nov 26 01:21:07 2019 -0800 Update prebuilt Clang to r353983d. clang 9.0.4 (based on r353983d) from build 6031956. Bug: http://b/145023753 Test: N/A Change-Id: I5259cb7ecbc3535a64a246cbafd87bf024ace148 commit b3b3292b2822d67311153f27dbbe0dab116efec9 Merge: 9413fe314 5df447b58 Author: Nick Desaulniers <[email protected]> Date: Tue Nov 26 00:43:15 2019 -0800 Update prebuilt Clang to r370808. am: 5df447b582 Change-Id: Ida3a99539164d5c688b481028dbb1d7b817eae35 commit 5df447b58248ebb566f531dd19ec0f449c744661 Author: Nick Desaulniers <[email protected]> Date: Mon Nov 25 22:58:57 2019 -0800 Update prebuilt Clang to r370808. clang 10.0.1 (based on r370808) from build 6032204. Bug: http://b/139945549 Test: N/A Change-Id: I6fead10d67aa801d2ed68097a39aca5dabd3c5f0 commit bb2a6c598f30f9a379da9a38e5c9a5be7464e84b Merge: 264a1cf10 9413fe314 Author: Nick Desaulniers <[email protected]> Date: Mon Nov 25 12:18:28 2019 -0800 RELEASE_NOTES: update clang-r370808 am: 782ac2e248 am: 9413fe314c Change-Id: Ic3859c19c163a62d410ceeea458d76f05a836d59 commit 9413fe314c52c24ce29c779db8db81248004982c Merge: 698d629df 782ac2e24 Author: Nick Desaulniers <[email protected]> Date: Mon Nov 25 12:15:31 2019 -0800 RELEASE_NOTES: update clang-r370808 am: 782ac2e248 Change-Id: I42a0cf94e1ff08b18459d91b54358c0f6258fd11 commit 782ac2e248bf241345bedd1ab4398fc280627ef7 Author: Nick Desaulniers <[email protected]> Date: Mon Nov 25 10:48:45 2019 -0800 RELEASE_NOTES: update clang-r370808 Bug: 139945549 Change-Id: I4fc304010f0067dc6c565a001b6e4b742f9044ac Signed-off-by: Nick Desaulniers <[email protected]> commit 264a1cf1039855d8d397807eff5a1dc12ff26910 Merge: ec8c5f8b7 698d629df Author: Nick Desaulniers <[email protected]> Date: Mon Nov 18 22:05:33 2019 -0800 add release notes for clang-r370808 am: e394343354 am: 698d629dfb Change-Id: Id40586fe190a01ca50ff24a85a9e196cff4313d0 commit ec8c5f8b71d76ea01f7781981f540d2a67d951e7 Merge: 915e8d241 866ee3d3a Author: Nick Desaulniers <[email protected]> Date: Mon Nov 18 22:05:27 2019 -0800 Update prebuilt Clang to r370808. am: ec72e15d63 am: 866ee3d3a4 Change-Id: Ic541b38812b6c08e5be7f3695af96ffad3856782 commit 698d629dfb73b80b84ed2a8bd514b64e866c417d Merge: 866ee3d3a e39434335 Author: Nick Desaulniers <[email protected]> Date: Mon Nov 18 21:50:43 2019 -0800 add release notes for clang-r370808 am: e394343354 Change-Id: I621edef84246e3dde0e7fd9499084153958cd6e6 commit 866ee3d3a4f62a1c0c8a76be3e3bdf00ebb39a34 Merge: 4e4dbb75c ec72e15d6 Author: Nick Desaulniers <[email protected]> Date: Mon Nov 18 21:50:32 2019 -0800 Update prebuilt Clang to r370808. am: ec72e15d63 Change-Id: I3cc251d31ceae66e1fd7ff2e73b4f1e87df67f97 commit e394343354eb0bbd3a7a03c69b82b3caae54627e Author: Nick Desaulniers <[email protected]> Date: Tue Nov 12 10:12:42 2019 -0800 add release notes for clang-r370808 Bug: 139945549 Test: N/A Change-Id: Ie27ad8d69ac702dcc1d3de8a52cd1ff489d6e6a8 Signed-off-by: Nick Desaulniers <[email protected]> commit ec72e15d63836c00a43f358e2f38faf843a64ce3 Author: Nick Desaulniers <[email protected]> Date: Mon Nov 18 17:42:44 2019 -0800 Update prebuilt Clang to r370808. clang 10.0.1 (based on r370808) from build 6016109. Bug: http://b/139945549 Test: N/A Change-Id: Ie40b5bad50b89e3bc4f52dcedc911b7fd2f5beb6 commit 915e8d2411b25e46bc6e7cdcd5b8046d40f137b9 Merge: fd12f0d94 4e4dbb75c Author: Xin Li <[email protected]> Date: Wed Oct 30 15:38:55 2019 -0700 DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master am: 4e4dbb75c6 Change-Id: Ia3d46b2d922e3021ddbdb3aeed640bd965c37dd4 commit 4e4dbb75c6a3e47bff4f4470aa5bc03c32b6338a Merge: 9ce4583f1 d25f92152 Author: Xin Li <[email protected]> Date: Wed Oct 30 11:50:26 2019 -0700 DO NOT MERGE - qt-qpr1-dev-plus-aosp-without-vendor@5915889 into stage-aosp-master Bug: 142003500 Change-Id: I2318a77a1c195d9f855cfb5615019fef1214ec07 commit fd12f0d94acde86f4e00bf3cf81b7af4af007d82 Merge: 813e2a8d6 9ce4583f1 Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Oct 29 17:13:36 2019 -0700 Merge "Add profiles for clang-r370808" am: 83d401b133 am: 9ce4583f16 Change-Id: I2c1c0997ac7238dac11620dfbb7fbfd9538551d0 commit 9ce4583f16ae63a6086da7d2792102ad30b3e455 Merge: 8945dd984 83d401b13 Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Oct 29 17:07:35 2019 -0700 Merge "Add profiles for clang-r370808" am: 83d401b133 Change-Id: I326ea9b1318dd666272bbe04462a9bdd8461276e commit 83d401b133d301508c2a8e0f9afccc8dbcea5f08 Merge: 3302642c2 5a9e18639 Author: Treehugger Robot <[email protected]> Date: Tue Oct 29 23:27:39 2019 +0000 Merge "Add profiles for clang-r370808" commit 5a9e18639c5a47f46515436816114d9c02746254 Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Oct 29 14:58:08 2019 -0700 Add profiles for clang-r370808 From build 5974613 Bug: http://b/139945549 Change-Id: If775dc0b1fdb47cde831de70c019fc6a3be64d98 commit 813e2a8d6b534d1e10142379355f8d216a205750 Merge: 4115ac2ce 3fea45132 Author: Nick Desaulniers <[email protected]> Date: Mon Oct 28 12:53:15 2019 -0700 Merge changes Iac0c78cc,I084670f6,I61c54a7d am: 3302642c2d am: 8945dd9841 am: 3fea45132a Change-Id: I38c384484448d98f218f83be32205778e3eff58f commit 3fea45132a7b116d0890d73f997eb174c2290f26 Merge: 587e2760f 8945dd984 Author: Nick Desaulniers <[email protected]> Date: Mon Oct 28 12:46:15 2019 -0700 Merge changes Iac0c78cc,I084670f6,I61c54a7d am: 3302642c2d am: 8945dd9841 Change-Id: Ica5cacc5379ab5316b295f1ca394f9fd632c7b49 commit 8945dd98414263fed71ac6eb0f1776bd1aea2a64 Merge: 935381924 3302642c2 Author: Nick Desaulniers <[email protected]> Date: Mon Oct 28 12:39:24 2019 -0700 Merge changes Iac0c78cc,I084670f6,I61c54a7d am: 3302642c2d Change-Id: I7cfdc23f381e19c9ff112484231f96d1df1e76bc commit 3302642c2d54dc1876054c0b4ee82ff41b6a452b Merge: 935381924 4a7dcda04 Author: Nick Desaulniers <[email protected]> Date: Mon Oct 28 19:22:19 2019 +0000 Merge changes Iac0c78cc,I084670f6,I61c54a7d * changes: README: Fix Linux kernel links README: Update Linux kernel Clang version README: Update NDK Clang version commit 4a7dcda04201f2710fe7041f8e0c825d66a1c1df Author: Nathan Chancellor <[email protected]> Date: Sat Oct 26 13:01:31 2019 -0700 README: Fix Linux kernel links The 4.9 link does not work because the android-4.9 branch was moved to deprecated. Use the android-4.9-q branch. The 4.14 link works but it does not show the clang version after the build.config refactoring; use the build.config.common for all three branches because that change was added to all of them: https://android.googlesource.com/kernel/common/+/7d642373db4c6c1c6ed8af02492047896beb4a47 The 4.19 link does not work because the cuttlefish build.config was removed for GKI: https://android.googlesource.com/kernel/common/+/3f0d9e29849d2ab72600269041fce18ff1b0b99a Change-Id: Iac0c78ccc444cf2c70a50d15e55c08b945aceb65 Reported-by: Souhrid Nandi <[email protected]> Signed-off-by: Nathan Chancellor <[email protected]> commit c267e5e74466c0fe84f1ab2be447bbbd576000ee Author: Nathan Chancellor <[email protected]> Date: Sat Oct 26 13:01:17 2019 -0700 README: Update Linux kernel Clang version Done in https://android.googlesource.com/kernel/common/+/fb1827d6f2b804e9efb9cbc95820a6a5d7232923 Change-Id: I084670f6c9a059f1e633a4096d9196ed7cfb1dba Signed-off-by: Nathan Chancellor <[email protected]> commit 6bc8c80d48dd1cc0fa54966e460aa32d00b8c802 Author: Nathan Chancellor <[email protected]> Date: Sat Oct 26 13:01:06 2019 -0700 README: Update NDK Clang version Done in https://android.googlesource.com/platform/ndk/+/e4d35c61e24f5935597b1f9516d6d6c5db3ce384 Change-Id: I61c54a7d0a8505e1ad89cf0fa6032c1c1b6f4068 Signed-off-by: Nathan Chancellor <[email protected]> commit 4115ac2ce5a26e60f74147764a4950d72e2d4c6b Merge: 2f1c4aa4d 587e2760f Author: Xin Li <[email protected]> Date: Wed Oct 23 17:58:22 2019 -0700 Skip QD1A.190821.011 in stage-aosp-master am: 935381924e am: 587e2760fc Change-Id: Ie702957a4f7dda7ca89ab3ca2889d6a6028ea60f commit 587e2760fcaa270a94667be15171be4198f363f3 Merge: 5164d2cb8 935381924 Author: Xin Li <[email protected]> Date: Wed Oct 23 17:38:20 2019 -0700 Skip QD1A.190821.011 in stage-aosp-master am: 935381924e Change-Id: Icd588c839b19d07c4dfc8dd776aa895f21629b41 commit 935381924ee485673357671fc9ecf6244c809ed6 Merge: 5551f729a 76b23d6c8 Author: Xin Li <[email protected]> Date: Wed Oct 16 15:19:29 2019 -0700 Skip QD1A.190821.011 in stage-aosp-master Bug: 141248619 Change-Id: Id29f7b01a5de55022913355dab1e8e87ab36e5a7 commit 2f1c4aa4de42ad64408ff3147316ee31ab15a1dc Merge: d25f92152 5164d2cb8 Author: Stephen Hines <[email protected]> Date: Fri Oct 4 12:34:06 2019 -0700 Merge "Remove unused clang-r349610b." am: fe4d48ac0f am: 5551f729aa am: 5164d2cb8c Change-Id: I5182a34d5b65bda381719889cdee112a5a5e8e13 commit 5164d2cb8c15d0447b2b6e4b30ca16e288fcb2f0 Merge: fbc4a979f 5551f729a Author: Stephen Hines <[email protected]> Date: Fri Oct 4 12:19:55 2019 -0700 Merge "Remove unused clang-r349610b." am: fe4d48ac0f am: 5551f729aa Change-Id: I35f40d6cda7786f745b10b9da63ce7fb6bd448c0 commit 5551f729aaf45ba0b1a9624c70d0debad6272fa9 Merge: bd592beeb fe4d48ac0 Author: Stephen Hines <[email protected]> Date: Fri Oct 4 12:06:27 2019 -0700 Merge "Remove unused clang-r349610b." am: fe4d48ac0f Change-Id: I964bf76c2732f87ea3126e7c41f18266f0e0bf63 commit fe4d48ac0f76147635e65278bededb5aac9ab178 Merge: 5274be15b 1ba3a29b6 Author: Treehugger Robot <[email protected]> Date: Fri Oct 4 18:35:49 2019 +0000 Merge "Remove unused clang-r349610b." commit d25f92152e7ea624fb3801cd002fd4324bd60df2 Merge: 47b7791e5 fbc4a979f Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 16:25:52 2019 -0700 README: add reference to r365631c and new release notes am: 5274be15be am: bd592beebf am: fbc4a979fa Change-Id: I90dfbbabc83c7cd6f6b34ff8850e5a739fb0f504 commit fbc4a979fac13023fe340331e2dd76c3eb6bda65 Merge: 4db4278ba bd592beeb Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 16:20:16 2019 -0700 README: add reference to r365631c and new release notes am: 5274be15be am: bd592beebf Change-Id: I0feae2619ad7b2315edef48e813bce67cee1e322 commit bd592beebfeef0022b42ba69e544255c9a05abb0 Merge: 6a611a82a 5274be15b Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 16:14:25 2019 -0700 README: add reference to r365631c and new release notes am: 5274be15be Change-Id: I9da1f0f551a368f206c652e1edea633ca7e7ddd3 commit 47b7791e5ef3c687124bfa665be9ed33ae9a8fec Merge: 9411a9261 4db4278ba Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 13:52:40 2019 -0700 Merge "Update prebuilt Clang to r365631c." am: f35b4502e7 am: 6a611a82a8 am: 4db4278ba2 Change-Id: I8ebcd8d1605af64136e97605d7f4cd575270cb63 commit 4db4278ba29b612ebc8bed1b10ff02c89894f162 Merge: 436187e1b 6a611a82a Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 13:42:12 2019 -0700 Merge "Update prebuilt Clang to r365631c." am: f35b4502e7 am: 6a611a82a8 Change-Id: I73fddb241748a6c0064dbe789c7970d681db01df commit 6a611a82a8b8a05c579249ace2cf919f226783e5 Merge: 6e97d72d8 f35b4502e Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 13:35:50 2019 -0700 Merge "Update prebuilt Clang to r365631c." am: f35b4502e7 Change-Id: I721c0713f5f8a0faccfa50b276b2061c4ac7835b commit 5274be15be1049c2e04a7e6a3fab79427eb2e7dd Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 13:31:04 2019 -0700 README: add reference to r365631c and new release notes Bug: 141645041 Change-Id: I2a18beb0f6ed870939fd061f49f9f102f5f0098f commit f35b4502e75af4fa07161279970b67e83f450a70 Merge: ee0148e6f ee5ad7f52 Author: Nick Desaulniers <[email protected]> Date: Thu Sep 26 20:17:28 2019 +0000 Merge "Update prebuilt Clang to r365631c." commit ee5ad7f5229892ff06b476e5b5a11ca1f39bf3a9 Author: Yi Kong <[email protected]> Date: Thu Sep 26 01:43:52 2019 -0700 Update prebuilt Clang to r365631c. clang 9.0.8 (based on r365631c) from build 5900059. Test: N/A Bug: 141645041 Change-Id: I3c8b4fa77bfdc3ecd4946371e662d6b138be4d41 commit 9411a92613af599bf1b97df7c519c00b0062303f Merge: 7e15828ed 436187e1b Author: Pirama Arumuga Nainar <[email protected]> Date: Wed Sep 18 16:29:57 2019 -0700 Remove unused clang-r365631 am: ee0148e6f5 am: 6e97d72d84 am: 436187e1b1 Change-Id: I3f5c91c67eb2d90b39b3e34209979e55583854c2 commit 436187e1b12ac28f340e877122239c094ccd123b Merge: c11083b9a 6e97d72d8 Author: Pirama Arumuga Nainar <[email protected]> Date: Wed Sep 18 16:22:58 2019 -0700 Remove unused clang-r365631 am: ee0148e6f5 am: 6e97d72d84 Change-Id: I64a76b60545d7f7c1a4112926383e6336925c486 commit 6e97d72d8417ef963754eed8f649b176495bd9f8 Merge: 90ae3dd4e ee0148e6f Author: Pirama Arumuga Nainar <[email protected]> Date: Wed Sep 18 16:16:01 2019 -0700 Remove unused clang-r365631 am: ee0148e6f5 Change-Id: Ie96c13dfa07964201f992230d20d62a39f1d5cb1 commit ee0148e6f50814ecd0188ac432574b166c42e50f Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Sep 17 21:13:16 2019 -0700 Remove unused clang-r365631 Test: Treehugger Change-Id: I5abade4979cca5d0925f12da3ba02410fcfbab33 commit 7e15828ed5a6ec11a09da37d3263b59f50038b8e Merge: e2c8baa65 c11083b9a Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Sep 17 18:37:13 2019 -0700 Update README am: f747030996 am: 90ae3dd4ea am: c11083b9ad Change-Id: I86576f24794630e201e05ee1988dda6488890003 commit c11083b9ad7ab7cb1b7456a3e321413ee826084b Merge: a6d76a5dc 90ae3dd4e Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Sep 17 18:30:09 2019 -0700 Update README am: f747030996 am: 90ae3dd4ea Change-Id: I02207f327cfaa65be580160520cc33988b99708f commit 90ae3dd4eabc1262f43bdaa3630716580810a3ec Merge: 6b9507a21 f74703099 Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Sep 17 18:22:19 2019 -0700 Update README am: f747030996 Change-Id: Ibe85b76a996721393d092f1297328f3515d571df commit f747030996b0e823495798523f94aedbb13b8aac Author: Pirama Arumuga Nainar <[email protected]> Date: Tue Sep 17 10:38:40 2019 -0700 Update README Test: N/A Change-Id: I321cdc0ea8c14905882cc5f28265114346d214f5 commit e2c8baa65d6d9e2d8ee25b88c88cd14fd1db9ed0 Merge: 69c62196a a6d76a5dc Author: Yi Kong <[email protected]> Date: Tue Sep 17 09:50:51 2019 -0700 Update LLVM binutils to r365631b. am: 0d5571d773 am: 6b9507a218 am: a6d76a5dcc Change-Id: Ia6d4d9e397d34c0ec1aa9a93bf72e61447b34aab commit a6d76a5dcc0592aa6905606599aa8df4cff73d2c Merge: 48ec7cc25 6b9507a21 Author: Yi Kong <[email protected]> Date: Tue Sep 17 09:44:49 2019 -0700 Update LLVM binutils to r365631b. am: 0d5571d773 am: 6b9507a218 Change-Id: I69548c4360ceee29be5c6041f981a24f86bd0884 commit 6b9507a218ff116a1aa2f434d76872c910fb4728 Merge: 4d2621471 0d5571d77 Author: Yi Kong <[email protected]> Date: Tue Sep 17 09:39:27 2019 -0700 Update LLVM binutils to r365631b. am: 0d5571d773 Change-Id: I1ce81652d58f3b6bf11d69b294559df6b52cc709 commit 69c62196aaf63cd446ae2b8687e06fa44e0dd098 Merge: 4a39de448 48ec7cc25 Author: Pirama Arumuga Nainar <[email protected]> Date: Mon Sep 16 23:58:39 2019 -0700 Remove unused clang-r353983e am: e57787fc31 am: 4d2621471c am: 48ec7cc25f Change-Id: I2c97dd93980fccc3f9aa5403a1d30d2504a1fbc8 commit 48ec7cc25fa0ed5a3aa607df4deed0be1d9ebebc Merge: 2825846de 4d2621471 Author: Pirama Arumuga Nainar <[email protected]> Date: Mon Sep 16 23:52:35 2019 -0700 Remove unused clang-r353983e am: e57787fc31 am: 4d2621471c Change-Id: I3093615d277280f3bfc2e094372d3decf37ac78a commit 4d2621471c2f32ca87aa0327a25b0348f977bdf3 Merge: f0377fa20 e57787fc3 Author: Pirama Arumuga Nainar <[email protected]> Date: Mon Sep 16 23:46:30 2019 -0700 Remove unused clang-r353983e am: e57787fc31 Change-Id: I8f1c5b95b283e6e5c619966aaa7bbfbbf39cb72e commit 0d5571d773730462d70ef218f7296a7641ff7af0 Author: Yi Kong <[email protected]> Date: Mon Sep 16 23:29:22 2019 -0700 Update LLVM binutils to r365631b. Test: N/A Change-Id: I19b897fd3d7e363ec56176a6c6020d915230f449 commit e57787fc31338793b328d7057c211f59fdb3587e Author: Pirama Arumuga Nainar <[email protected]> Date: Mon Sep 16 21:29:44 2019 -0700 Remove unused clang-r353983e Test: Treehugger Change-Id: Ic952b4d42c934819c43c89490a106c1a2c43f81d commit 4a39de4483a02465e47532caac1960baa902f5fc Merge: 4d297926f 2825846de Author: Stephen Hines <[email protected]> Date: Mon Sep 16 15:57:01 2019 -0700 Update prebuilt Clang to r365631b. am: f8e8565569 am: f0377fa20a am: 2825846de4 Change-Id: I77f360bf564321a3a02533b4f9f60b42bd6f3719 commit 2825846de4b405bacf8afd19515351d0173a6bf8 Merge: 467610107 f0377fa20 Author: Stephen Hines <[email protected]> Date: Mon Sep 16 15:41:23 2019 -0700 Update prebuilt Clang to r365631b. am: f8e8565569 am: f0377fa20a Change-Id: I8f5ce9fb3e959cdfcd7fd60d492db0e6970b51ee commit f0377fa20a4005fc85c77f7a5b7257ee502262f8 Merge: 486cdfa53 f8e856556 Author: Stephen Hines <[email protected]> Date: Mon Sep 16 15:33:54 2019 -0700 Update prebuilt Clang to r365631b. am: f8e8565569 Change-Id: I6b80d66668becfc0ef4fb8ba8a22a2462ba45a3c commit f8e856556909898bd35ee8eae829437721b5a3db Author: Stephen Hines <[email protected]> Date: Fri Sep 13 11:30:18 2019 -0700 Update prebuilt Clang to r365631b. clang 9.0.7 (based on r365631b) from build 5873035. Bug: https://github.com/android/ndk/issues/1076 Test: N/A Change-Id: I440dca35560fc0ad0a4c2fce565dc38829eaecb0 commit 4d297926f82446a6f8e5877607ef4e3afd240dd1 Merge: e7d63d6bc 467610107 Author: Logan Chien <[email protected]> …
1 parent 53738a7 commit e5dc5b3

File tree

5,162 files changed

+1782545
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

5,162 files changed

+1782545
-0
lines changed

AndroidVersion.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
11.0.1
2+
based on r383902

MODULE_LICENSE_BSD_LIKE

Whitespace-only changes.

MODULE_LICENSE_MIT

Whitespace-only changes.

NOTICE

+2,414
Large diffs are not rendered by default.

bin/bisect_driver.py

+337
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,337 @@
1+
# Copyright 2016 Google Inc. All Rights Reserved.
2+
#
3+
# This script is used to help the compiler wrapper in the Android build system
4+
# bisect for bad object files.
5+
"""Utilities for bisection of Android object files.
6+
7+
This module contains a set of utilities to allow bisection between
8+
two sets (good and bad) of object files. Mostly used to find compiler
9+
bugs.
10+
11+
Reference page:
12+
https://sites.google.com/a/google.com/chromeos-toolchain-team-home2/home/team-tools-and-scripts/bisecting-chromeos-compiler-problems/bisection-compiler-wrapper
13+
14+
Design doc:
15+
https://docs.google.com/document/d/1yDgaUIa2O5w6dc3sSTe1ry-1ehKajTGJGQCbyn0fcEM
16+
"""
17+
18+
from __future__ import print_function
19+
20+
import contextlib
21+
import fcntl
22+
import os
23+
import shutil
24+
import subprocess
25+
import sys
26+
27+
VALID_MODES = ['POPULATE_GOOD', 'POPULATE_BAD', 'TRIAGE']
28+
GOOD_CACHE = 'good'
29+
BAD_CACHE = 'bad'
30+
LIST_FILE = os.path.join(GOOD_CACHE, '_LIST')
31+
32+
CONTINUE_ON_MISSING = os.environ.get('BISECT_CONTINUE_ON_MISSING', None) == '1'
33+
WRAPPER_SAFE_MODE = os.environ.get('BISECT_WRAPPER_SAFE_MODE', None) == '1'
34+
35+
36+
class Error(Exception):
37+
"""The general compiler wrapper error class."""
38+
pass
39+
40+
41+
@contextlib.contextmanager
42+
def lock_file(path, mode):
43+
"""Lock file and block if other process has lock on file.
44+
45+
Acquire exclusive lock for file. Only blocks other processes if they attempt
46+
to also acquire lock through this method. If only reading (modes 'r' and 'rb')
47+
then the lock is shared (i.e. many reads can happen concurrently, but only one
48+
process may write at a time).
49+
50+
This function is a contextmanager, meaning it's meant to be used with the
51+
"with" statement in Python. This is so cleanup and setup happens automatically
52+
and cleanly. Execution of the outer "with" statement happens at the "yield"
53+
statement. Execution resumes after the yield when the outer "with" statement
54+
ends.
55+
56+
Args:
57+
path: path to file being locked
58+
mode: mode to open file with ('w', 'r', etc.)
59+
"""
60+
with open(path, mode) as f:
61+
# Share the lock if just reading, make lock exclusive if writing
62+
if f.mode == 'r' or f.mode == 'rb':
63+
lock_type = fcntl.LOCK_SH
64+
else:
65+
lock_type = fcntl.LOCK_EX
66+
67+
try:
68+
fcntl.lockf(f, lock_type)
69+
yield f
70+
f.flush()
71+
except:
72+
raise
73+
finally:
74+
fcntl.lockf(f, fcntl.LOCK_UN)
75+
76+
77+
def log_to_file(path, execargs, link_from=None, link_to=None):
78+
"""Common logging function.
79+
80+
Log current working directory, current execargs, and a from-to relationship
81+
between files.
82+
"""
83+
with lock_file(path, 'a') as log:
84+
log.write('cd: %s; %s\n' % (os.getcwd(), ' '.join(execargs)))
85+
if link_from and link_to:
86+
log.write('%s -> %s\n' % (link_from, link_to))
87+
88+
89+
def exec_and_return(execargs):
90+
"""Execute process and return.
91+
92+
Execute according to execargs and return immediately. Don't inspect
93+
stderr or stdout.
94+
"""
95+
return subprocess.call(execargs)
96+
97+
98+
def which_cache(obj_file):
99+
"""Determine which cache an object belongs to.
100+
101+
The binary search tool creates two files for each search iteration listing
102+
the full set of bad objects and full set of good objects. We use this to
103+
determine where an object file should be linked from (good or bad).
104+
"""
105+
bad_set_file = os.environ.get('BISECT_BAD_SET')
106+
ret = subprocess.call(['grep', '-x', '-q', obj_file, bad_set_file])
107+
if ret == 0:
108+
return BAD_CACHE
109+
else:
110+
return GOOD_CACHE
111+
112+
113+
def makedirs(path):
114+
"""Try to create directories in path."""
115+
try:
116+
os.makedirs(path)
117+
except os.error:
118+
if not os.path.isdir(path):
119+
raise
120+
121+
122+
def get_obj_path(execargs):
123+
"""Get the object path for the object file in the list of arguments.
124+
125+
Returns:
126+
Absolute object path from execution args (-o argument). If no object being
127+
outputted or output doesn't end in ".o" then return empty string.
128+
"""
129+
try:
130+
i = execargs.index('-o')
131+
except ValueError:
132+
return ''
133+
134+
obj_path = execargs[i + 1]
135+
if not obj_path.endswith(('.o',)):
136+
# TODO: what suffixes do we need to contemplate
137+
# TODO: add this as a warning
138+
# TODO: need to handle -r compilations
139+
return ''
140+
141+
return os.path.abspath(obj_path)
142+
143+
144+
def get_dep_path(execargs):
145+
"""Get the dep file path for the dep file in the list of arguments.
146+
147+
Returns:
148+
Absolute path of dependency file path from execution args (-o argument). If
149+
no dependency being outputted then return empty string.
150+
"""
151+
if '-MD' not in execargs and '-MMD' not in execargs:
152+
return ''
153+
154+
# If -MF given this is the path of the dependency file. Otherwise the
155+
# dependency file is the value of -o but with a .d extension
156+
if '-MF' in execargs:
157+
i = execargs.index('-MF')
158+
dep_path = execargs[i + 1]
159+
return os.path.abspath(dep_path)
160+
161+
full_obj_path = get_obj_path(execargs)
162+
if not full_obj_path:
163+
return ''
164+
165+
return full_obj_path[:-2] + '.d'
166+
167+
168+
def get_dwo_path(execargs):
169+
"""Get the dwo file path for the dwo file in the list of arguments.
170+
171+
Returns:
172+
Absolute dwo file path from execution args (-gsplit-dwarf argument) If no
173+
dwo file being outputted then return empty string.
174+
"""
175+
if '-gsplit-dwarf' not in execargs:
176+
return ''
177+
178+
full_obj_path = get_obj_path(execargs)
179+
if not full_obj_path:
180+
return ''
181+
182+
return full_obj_path[:-2] + '.dwo'
183+
184+
185+
def in_object_list(obj_name, list_filename):
186+
"""Check if object file name exist in file with object list."""
187+
if not obj_name:
188+
return False
189+
190+
with lock_file(list_filename, 'r') as list_file:
191+
for line in list_file:
192+
if line.strip() == obj_name:
193+
return True
194+
195+
return False
196+
197+
198+
def get_side_effects(execargs):
199+
"""Determine side effects generated by compiler
200+
201+
Returns:
202+
List of paths of objects that the compiler generates as side effects.
203+
"""
204+
side_effects = []
205+
206+
# Cache dependency files
207+
full_dep_path = get_dep_path(execargs)
208+
if full_dep_path:
209+
side_effects.append(full_dep_path)
210+
211+
# Cache dwo files
212+
full_dwo_path = get_dwo_path(execargs)
213+
if full_dwo_path:
214+
side_effects.append(full_dwo_path)
215+
216+
return side_effects
217+
218+
219+
def cache_file(execargs, bisect_dir, cache, abs_file_path):
220+
"""Cache compiler output file (.o/.d/.dwo)."""
221+
# os.path.join fails with absolute paths, use + instead
222+
bisect_path = os.path.join(bisect_dir, cache) + abs_file_path
223+
bisect_path_dir = os.path.dirname(bisect_path)
224+
makedirs(bisect_path_dir)
225+
pop_log = os.path.join(bisect_dir, cache, '_POPULATE_LOG')
226+
log_to_file(pop_log, execargs, abs_file_path, bisect_path)
227+
228+
try:
229+
if os.path.exists(abs_file_path):
230+
shutil.copy2(abs_file_path, bisect_path)
231+
except Exception:
232+
print('Could not cache file %s' % abs_file_path, file=sys.stderr)
233+
raise
234+
235+
236+
def restore_file(bisect_dir, cache, abs_file_path):
237+
"""Restore file from cache (.o/.d/.dwo)."""
238+
# os.path.join fails with absolute paths, use + instead
239+
cached_path = os.path.join(bisect_dir, cache) + abs_file_path
240+
if os.path.exists(cached_path):
241+
if os.path.exists(abs_file_path):
242+
os.remove(abs_file_path)
243+
try:
244+
os.link(cached_path, abs_file_path)
245+
except OSError:
246+
shutil.copyfile(cached_path, abs_file_path)
247+
else:
248+
raise Error(('%s is missing from %s cache! Unsure how to proceed. Make '
249+
'will now crash.' % (cache, cached_path)))
250+
251+
252+
def bisect_populate(execargs, bisect_dir, population_name):
253+
"""Add necessary information to the bisect cache for the given execution.
254+
255+
Extract the necessary information for bisection from the compiler
256+
execution arguments and put it into the bisection cache. This
257+
includes copying the created object file, adding the object
258+
file path to the cache list and keeping a log of the execution.
259+
260+
Args:
261+
execargs: compiler execution arguments.
262+
bisect_dir: bisection directory.
263+
population_name: name of the cache being populated (good/bad).
264+
"""
265+
retval = exec_and_return(execargs)
266+
if retval:
267+
return retval
268+
269+
full_obj_path = get_obj_path(execargs)
270+
# If not a normal compiler call then just exit
271+
if not full_obj_path:
272+
return
273+
274+
cache_file(execargs, bisect_dir, population_name, full_obj_path)
275+
276+
population_dir = os.path.join(bisect_dir, population_name)
277+
with lock_file(os.path.join(population_dir, '_LIST'), 'a') as object_list:
278+
object_list.write('%s\n' % full_obj_path)
279+
280+
for side_effect in get_side_effects(execargs):
281+
cache_file(execargs, bisect_dir, population_name, side_effect)
282+
283+
284+
def bisect_triage(execargs, bisect_dir):
285+
full_obj_path = get_obj_path(execargs)
286+
obj_list = os.path.join(bisect_dir, LIST_FILE)
287+
288+
# If the output isn't an object file just call compiler
289+
if not full_obj_path:
290+
return exec_and_return(execargs)
291+
292+
# If this isn't a bisected object just call compiler
293+
# This shouldn't happen!
294+
if not in_object_list(full_obj_path, obj_list):
295+
if CONTINUE_ON_MISSING:
296+
log_file = os.path.join(bisect_dir, '_MISSING_CACHED_OBJ_LOG')
297+
log_to_file(log_file, execargs, '? compiler', full_obj_path)
298+
return exec_and_return(execargs)
299+
else:
300+
raise Error(('%s is missing from cache! To ignore export '
301+
'BISECT_CONTINUE_ON_MISSING=1. See documentation for more '
302+
'details on this option.' % full_obj_path))
303+
304+
cache = which_cache(full_obj_path)
305+
306+
# If using safe WRAPPER_SAFE_MODE option call compiler and overwrite the
307+
# result from the good/bad cache. This option is safe and covers all compiler
308+
# side effects, but is very slow!
309+
if WRAPPER_SAFE_MODE:
310+
retval = exec_and_return(execargs)
311+
if retval:
312+
return retval
313+
os.remove(full_obj_path)
314+
restore_file(bisect_dir, cache, full_obj_path)
315+
return
316+
317+
# Generate compiler side effects. Trick Make into thinking compiler was
318+
# actually executed.
319+
for side_effect in get_side_effects(execargs):
320+
restore_file(bisect_dir, cache, side_effect)
321+
322+
# If generated object file happened to be pruned/cleaned by Make then link it
323+
# over from cache again.
324+
if not os.path.exists(full_obj_path):
325+
restore_file(bisect_dir, cache, full_obj_path)
326+
327+
328+
def bisect_driver(bisect_stage, bisect_dir, execargs):
329+
"""Call appropriate bisection stage according to value in bisect_stage."""
330+
if bisect_stage == 'POPULATE_GOOD':
331+
bisect_populate(execargs, bisect_dir, GOOD_CACHE)
332+
elif bisect_stage == 'POPULATE_BAD':
333+
bisect_populate(execargs, bisect_dir, BAD_CACHE)
334+
elif bisect_stage == 'TRIAGE':
335+
bisect_triage(execargs, bisect_dir)
336+
else:
337+
raise ValueError('wrong value for BISECT_STAGE: %s' % bisect_stage)

bin/clang

2.83 MB
Binary file not shown.

bin/clang++

2.83 MB
Binary file not shown.

bin/clang++.real

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
clang.real

bin/clang-11

62.7 MB
Binary file not shown.

bin/clang-check

42.3 MB
Binary file not shown.

bin/clang-cl

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
clang

bin/clang-format

1.71 MB
Binary file not shown.

bin/clang-tidy

2.83 MB
Binary file not shown.

bin/clang-tidy.real

30.5 MB
Binary file not shown.

bin/clang.real

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
clang-11

bin/dsymutil

22.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)