Commit Graph

3295 Commits

Author SHA1 Message Date
mtk15504
65abdb4ccf Merge "Add to support armv8-2a on 2nd arch. variant" am: 4855c4f460
am: 140673036a

Change-Id: I66eac86090b8e2d2ceaf3214d91c56f1117f9a2b
2018-11-13 17:16:16 -08:00
mtk15504
140673036a Merge "Add to support armv8-2a on 2nd arch. variant"
am: 4855c4f460

Change-Id: I8f41d50bdf6e0a67a76e59e1bf559476422eb5fb
2018-11-13 17:09:11 -08:00
Treehugger Robot
4855c4f460 Merge "Add to support armv8-2a on 2nd arch. variant" 2018-11-14 00:51:53 +00:00
Colin Cross
5f45e81f84 Enable benchmarks on darwin
libgoogle-benchmark works fine on darwin, enable it.

Bug: 77585931
Test: m checkbuild
Change-Id: I8d1cfe4ada634675c8c4c16f42681069d0311771
2018-11-13 15:28:07 -08:00
Pirama Arumuga Nainar
b28413aa47 Merge "Switch to clang-r344140b" am: 07002e0101 am: 79423121f7
am: b93dcecf53

Change-Id: If2bc5bff6867b01420cc789baf0bbdd0e8d04d3b
2018-11-13 13:03:06 -08:00
Pirama Arumuga Nainar
b93dcecf53 Merge "Switch to clang-r344140b" am: 07002e0101
am: 79423121f7

Change-Id: Ic59acefeefc494c0fc7916b5a1830c87e938ea13
2018-11-13 12:56:02 -08:00
Pirama Arumuga Nainar
79423121f7 Merge "Switch to clang-r344140b"
am: 07002e0101

Change-Id: Iaef6a26cf87b64d2aa702ef68c4203e9a8a5e308
2018-11-13 12:52:22 -08:00
Pirama Arumuga Nainar
538be1f81c Switch to clang-r344140b
Bug: http://b/119270185

This prebuilt has a cherry-pick to fix PGO instrumentation.

Test: m ANDROID_PGO_INSTRUMENT=all,
      Build and boot a few devices in internal branch.
Change-Id: I97ca17fbc039a17db57b2749a1adf2ef981c5918
2018-11-13 17:21:01 +00:00
mtk15504
270ba75991 Add to support armv8-2a on 2nd arch. variant
Add arch. variant option to support cores that implement armv8-2a ISAs.

Test: set TARGET_2ND_ARCH_VARIANT := armv8-2a, build successful and 32bit app launch ok

BUG: 118414869
Change-Id: I755b8858726bd887068923123bad106aed7b1ec8
2018-11-13 16:40:38 +08:00
Chih-Hung Hsieh
94b1fe2e4c Revert "Add lld --no-rosegment flag to work with unwinder." am: 2fcac47e9d am: c23b5b56d4
am: 7d07fa514e

Change-Id: I192b74f158d886a6b95b6e5c3e9d7aab3de7e998
2018-11-12 17:40:27 -08:00
Chih-Hung Hsieh
7d07fa514e Revert "Add lld --no-rosegment flag to work with unwinder." am: 2fcac47e9d
am: c23b5b56d4

Change-Id: I957d31d1d8869f6815d430a6b57baa43e387188e
2018-11-12 16:40:08 -08:00
Chih-Hung Hsieh
c23b5b56d4 Revert "Add lld --no-rosegment flag to work with unwinder."
am: 2fcac47e9d

Change-Id: I3f623e6e6fafe9031dae5bf550311ce51b54af83
2018-11-12 16:06:42 -08:00
Chih-Hung Hsieh
2fcac47e9d Revert "Add lld --no-rosegment flag to work with unwinder."
This reverts commit b18814e7a4.

Reason for revert: The originating bug is now fixed.

Test: make checkbuild
Change-Id: Iabcfbeed5977336fc27fb1ccbad269c1fa81ef6e
2018-11-12 21:09:28 +00:00
Colin Cross
557d8bc838 Shard arch property structs am: c17727d06b am: 4ea18ea948
am: cd99539a1a

Change-Id: I311f224284a75930193f527d432a662721c525c9
2018-11-12 11:19:51 -08:00
Colin Cross
cd99539a1a Shard arch property structs am: c17727d06b
am: 4ea18ea948

Change-Id: I7fd3d70e5c84aed2b981d65ed833cf6c1324de6b
2018-11-12 11:14:48 -08:00
Colin Cross
4ea18ea948 Shard arch property structs
am: c17727d06b

Change-Id: I9f89fa8af0fed7eb92b1a77b3ff2e60b3e65973d
2018-11-12 11:10:41 -08:00
Colin Cross
c17727d06b Shard arch property structs
Arch property struct types are created at runtime.  Go has a limit
of 2**16 bytes for the name of a type, and the type of a struct
created at runtime is a string containing all the names and types
of its fields.  To avoid going over the limit, split the runtime
created structs into multiple shards.

Also undo MoreBaseLinkerProperties now that it is no longer
required.

Bug: 80437643
Test: m checkbuild
Test: no change to out/soong/build.ninja
Change-Id: I035b20332ec63f3d4b1696855c5b0b0a810597b7
2018-11-12 19:04:13 +00:00
Jaewoong Jung
66ade49fd9 Merge "Revert "Revert "Revert "Export static libraries."""" am: eeb2c4b03d am: 3030e6cb1a
am: 4a995532a7

Change-Id: Idded92703d79023ac8c217450393437c32628076
2018-11-09 18:09:45 -08:00
Jaewoong Jung
6fbd3cd472 Merge "Revert "Revert "Export static libraries.""" am: 11044b094f am: daf14b3e18
am: 098a057800

Change-Id: Ie83d7aee39795dacb1598147bd7081410bcdf2f9
2018-11-09 15:37:52 -08:00
Yi Kong
ee53a98e31 Remove unnecessary warning suppression
All instances of no-self-assign-overloaded warning have been fixed,
remove the suppression flag.

Test: m checkbuild
Change-Id: I70d9d6f721b36ebb5c3974893f79a09e4b1d1f4d
2018-11-09 23:09:19 +00:00
Jaewoong Jung
4a995532a7 Merge "Revert "Revert "Revert "Export static libraries."""" am: eeb2c4b03d
am: 3030e6cb1a

Change-Id: Id7c92280d95dea9571f7da044712e06f726a6a44
2018-11-09 14:51:00 -08:00
Jaewoong Jung
3030e6cb1a Merge "Revert "Revert "Revert "Export static libraries.""""
am: eeb2c4b03d

Change-Id: I8286bf1eb71d3e71ad54790cfe5c0a12083a540c
2018-11-09 14:45:56 -08:00
Jaewoong Jung
555c114283 Revert "Revert "Revert "Export static libraries."""
This reverts commit eb05c2a633.

Reason for revert: Yet another broken build.

Change-Id: I4198f2dd5c7848365d71d03f6dbd598998fb9bd8
2018-11-09 22:25:37 +00:00
Jaewoong Jung
098a057800 Merge "Revert "Revert "Export static libraries.""" am: 11044b094f
am: daf14b3e18

Change-Id: I0c1a126d637b63237f041f3c5fc69892907177b5
2018-11-09 13:55:44 -08:00
Jaewoong Jung
daf14b3e18 Merge "Revert "Revert "Export static libraries."""
am: 11044b094f

Change-Id: I6b0bf96e873f6fd10eb6852c4dd778a808f55a6d
2018-11-09 13:44:02 -08:00
Jaewoong Jung
eb05c2a633 Revert "Revert "Export static libraries.""
This reverts commit 3affc07ca0.

Reason for revert: The notice dependency bug is now fixed.

Change-Id: I5424ade9d742fbe190651097c04914a29db6dfa0
2018-11-09 16:02:34 +00:00
Peter Collingbourne
bbdd3e81f4 Stop passing the gold plugin path to llvm-ar. am: abde584fd1 am: e4d64808a3
am: fba1664069

Change-Id: I852c0769172c6ca034903b4defc4c5b0cbdc413f
2018-11-08 22:22:37 -08:00
Peter Collingbourne
fba1664069 Stop passing the gold plugin path to llvm-ar. am: abde584fd1
am: e4d64808a3

Change-Id: I0e7b39f7f91eeda21ecafd44bc214d830a42c558
2018-11-08 22:16:19 -08:00
Peter Collingbourne
e4d64808a3 Stop passing the gold plugin path to llvm-ar.
am: abde584fd1

Change-Id: I29bac88f000c1e0c430c8b8651ec99e9d14939e4
2018-11-08 22:11:46 -08:00
Peter Collingbourne
abde584fd1 Stop passing the gold plugin path to llvm-ar.
llvm-ar takes a --plugin argument but it is ignored for compatibility,
so passing it has no effect.

Change-Id: I4fc51d226d66cf2a43462d3d4ccc12e6e5ebb226
2018-11-08 20:13:16 -08:00
Yi Kong
584e018337 Merge "Revert "Prevent clang from using the x18 register on arm64."" am: ec2f6cba80 am: 3d317f2b24
am: 0ea551a11e

Change-Id: I94f6761877746a3f8c365956cdde6f1f8e3734ef
2018-11-08 17:54:37 -08:00
Yi Kong
0ea551a11e Merge "Revert "Prevent clang from using the x18 register on arm64."" am: ec2f6cba80
am: 3d317f2b24

Change-Id: Ieb7d9c080e287366f307392108bc2e2b84c10ea8
2018-11-08 17:46:31 -08:00
Yi Kong
3d317f2b24 Merge "Revert "Prevent clang from using the x18 register on arm64.""
am: ec2f6cba80

Change-Id: Iac8612907d9bfd38fc67392483b76233e73317d7
2018-11-08 17:42:26 -08:00
Yi Kong
ec2f6cba80 Merge "Revert "Prevent clang from using the x18 register on arm64."" 2018-11-09 01:32:34 +00:00
Yi Kong
8c3c0f50d0 Revert "Prevent clang from using the x18 register on arm64."
This reverts commit 98d8580c3a.

Change no longer needed with the new LLVM toolchain update.

Bug: 112907825
Bug: 111759196
Change-Id: Ife3ce47a602dd850ac84bb51abc70c0ca157776e
2018-11-08 21:07:08 +00:00
Martin Stjernholm
01663477d1 Merge "Add shared_libs to vendor and recovery targets." am: c51ffaf1f2 am: fd845abe2a
am: 0ace3376ae

Change-Id: Iee04e4939f5e2f49bd904a61c26aac743d9d3712
2018-11-08 03:25:41 -08:00
Martin Stjernholm
0ace3376ae Merge "Add shared_libs to vendor and recovery targets." am: c51ffaf1f2
am: fd845abe2a

Change-Id: Idf6fae21d0cd79dfb0976acb3ef3afc75ffae93d
2018-11-08 03:16:29 -08:00
Martin Stjernholm
fd845abe2a Merge "Add shared_libs to vendor and recovery targets."
am: c51ffaf1f2

Change-Id: I4eb5cfd01319c0c6ea86dc64f234a8938578d75d
2018-11-08 03:12:04 -08:00
Martin Stjernholm
c51ffaf1f2 Merge "Add shared_libs to vendor and recovery targets." 2018-11-08 10:55:01 +00:00
Alex Light
f9c6150cf3 Merge "Use the real compiler for compdb" am: 2eb88c7135 am: ea0c42f2eb
am: ba43629d2b

Change-Id: Ibe0e91aa281174b4a75729e38e629513a9c282b2
2018-11-07 18:37:47 -08:00
Alex Light
ba43629d2b Merge "Use the real compiler for compdb" am: 2eb88c7135
am: ea0c42f2eb

Change-Id: Ib09e91af82bf2e0088dea3e20c27ee364e415775
2018-11-07 18:22:12 -08:00
Alex Light
ea0c42f2eb Merge "Use the real compiler for compdb"
am: 2eb88c7135

Change-Id: I0873f8e0dee87b6dbc0eb92ad685b708bb433fc7
2018-11-07 17:53:59 -08:00
Treehugger Robot
2eb88c7135 Merge "Use the real compiler for compdb" 2018-11-08 01:41:19 +00:00
Alex Light
be96aeac1a Use the real compiler for compdb
Some tools (eg ccls) require that the compiler in argv[0] of the
compdb be an actual compiler binary. Until now we had simply filled
that slot with /bin/false. This change fills it with the current
default clang binary instead.

Test: make -j50 SOONG_GEN_COMPDB=1 SOONG_GEN_COMPDB_DEBUG=1 SOONG_LINK_COMPDB_TO=$ANDROID_BUILD_TOP nothing
Test: Use ccls
Change-Id: I920e8d3113e398b629228070a904dbf1535856e0
2018-11-07 11:35:47 -08:00
Martin Stjernholm
ef449fe62e Add shared_libs to vendor and recovery targets.
Prerequisite for https://android-review.googlesource.com/815573.

Test: Built system/core/libunwindstack with https://android-review.googlesource.com/815573
Bug: 118374951
Change-Id: I6dd7ba1416f34291792c8ac5cf74048753f3e2f6
2018-11-07 11:00:59 +00:00
Yi Kong
c7e433d933 Merge "Update clang to r344140" am: 8a89f21746 am: 0d607467ec
am: e9190f2218

Change-Id: I718de03bd9b37b3a151b792ff38a7776e5cfc40e
2018-11-06 17:58:12 -08:00
Yi Kong
e9190f2218 Merge "Update clang to r344140" am: 8a89f21746
am: 0d607467ec

Change-Id: I4c39a764b677667881e301c262f6c5298990d756
2018-11-06 17:52:22 -08:00
Yi Kong
0d607467ec Merge "Update clang to r344140"
am: 8a89f21746

Change-Id: I33b83790907fb82e8cb73370dad587d51f1e504b
2018-11-06 17:48:20 -08:00
Yi Kong
8a89f21746 Merge "Update clang to r344140" 2018-11-07 01:39:56 +00:00
Jaewoong Jung
8020296c6a Revert "Export static libraries." am: 3affc07ca0 am: ae268e6050
am: 0c1ae15caa

Change-Id: I116e41c50b2f6ee2ac69428e05f8a9147bee211f
2018-11-06 10:26:49 -08:00