Commit Graph

2324 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
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
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
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
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
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
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
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
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
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
0c1ae15caa Revert "Export static libraries." am: 3affc07ca0
am: ae268e6050

Change-Id: I6b6e056f287985545243d83acf34f1dfa00c17fd
2018-11-06 10:22:46 -08:00
Jaewoong Jung
ae268e6050 Revert "Export static libraries."
am: 3affc07ca0

Change-Id: Iece4468654c0a789f2b86408b1c6ef8d3cfedcea
2018-11-06 10:18:51 -08:00
Jaewoong Jung
3affc07ca0 Revert "Export static libraries."
This reverts commit 9d5ca159dc.

Reason for revert: This broke few builds.

Change-Id: Id9c4d7c145602a55ae07bb177f2c236e16f4fb63
2018-11-06 18:00:39 +00:00
Jaewoong Jung
b835e54415 Export static libraries. am: 9d5ca159dc
am: 212c82513c

Change-Id: I383cad7f8405473e23732ccd361cfe49e40aff1d
2018-11-06 07:29:20 -08:00
Jaewoong Jung
212c82513c Export static libraries.
am: 9d5ca159dc

Change-Id: I1a4ec768e82a53fc609552339789671ec90164d6
2018-11-06 07:20:46 -08:00
Jaewoong Jung
9d5ca159dc Export static libraries.
Export static libraries through LOCAL_STATIC_LIBRARIES and
LOCAL_WHOLE_STATIC_LIBRARIES. This enables dependency-based NOTICE file
generation. Also, add a notice property in the libwinpthread module.

Bug: 36073965
Test: cc_test.go
Change-Id: If1ca1f9159e80cf8fbe71df7a13ca5d6a1f63b40
2018-11-05 23:48:10 +00:00
Jiyong Park
e6a4ccb9f2 Merge "Set __<libname>_API__ macro when building against stubs" am: 1a583e7eef
am: a846bd5f97

Change-Id: I5ffe134a36fda08ee2ccafc8744b98b60a11e7d4
2018-11-04 09:09:23 -08:00
Jiyong Park
a846bd5f97 Merge "Set __<libname>_API__ macro when building against stubs"
am: 1a583e7eef

Change-Id: I05d4d003af70ac7dffcadfe5d72c0b89c45f52ab
2018-11-04 09:04:27 -08:00
Jiyong Park
da732bd63a Set __<libname>_API__ macro when building against stubs
When building against libFoo#ver, __LIBFOO_API__ macro is set to ver so
that headers from libFoo can be conditionally compiled (e.g., hide APIs
that are not available for the version, etc.)

Bug: 112672359
Test: m (cc_test added)
Change-Id: I863ef95b385cdd842eec1bf34e81f44b5e3b58b3
2018-11-04 13:38:24 +09:00
Dan Willemsen
f59409fbef Merge "Revert "Export static libraries."" am: 22d7486605
am: 2c0663f741

Change-Id: I760a3596fdb7977930bf151e22174a711602ea6d
2018-11-02 16:20:24 -07:00
Dan Willemsen
2c0663f741 Merge "Revert "Export static libraries.""
am: 22d7486605

Change-Id: I96bd769857841c1ed4d384cab27a52b7c1999731
2018-11-02 16:16:13 -07:00