OSDN Git Service

android-x86/external-llvm.git
8 years agoRemove unsafe AssertZext after promoting result of FP_TO_FP16
Pirama Arumuga Nainar [Thu, 24 Mar 2016 14:06:03 +0000 (14:06 +0000)]
Remove unsafe AssertZext after promoting result of FP_TO_FP16

Summary:
Some target lowerings of FP_TO_FP16, for instance ARM's vcvtb.f16.f32
instruction, do not guarantee that the top 16 bits are zeroed out.
Remove the unsafe AssertZext and add tests to exercise this.

Reviewers: jmolloy, sbaranga, kristof.beyls, aadg

Subscribers: llvm-commits, srhines, aemerson

Differential Revision: http://reviews.llvm.org/D18426

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@264285 91177308-0d34-0410-b5e6-96231b3b80d8

8 years ago[DAGCombine] Catch the case where extract_vector_elt can cause an any_ext while proce...
Silviu Baranga [Mon, 21 Mar 2016 11:43:46 +0000 (11:43 +0000)]
[DAGCombine] Catch the case where extract_vector_elt can cause an any_ext while processing AND SDNodes

Summary:
extract_vector_elt can cause an implicit any_ext if the types don't
match. When processing the following pattern:

  (and (extract_vector_elt (load ([non_ext|any_ext|zero_ext] V))), c)

DAGCombine was ignoring the possible extend, and sometimes removing
the AND even though it was required to maintain some of the bits
in the result to 0, resulting in a miscompile.

This change fixes the issue by limiting the transformation only to
cases where the extract_vector_elt doesn't perform the implicit
extend.

Reviewers: t.p.northover, jmolloy

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D18247

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@263935 91177308-0d34-0410-b5e6-96231b3b80d8

8 years agoUpdate aosp/master LLVM for rebase to r256229
Pirama Arumuga Nainar [Thu, 3 Mar 2016 23:48:50 +0000 (15:48 -0800)]
Update aosp/master LLVM for rebase to r256229

http://b/26987366

(cherry picked from commit f3ef5332fa3f4d5ec72c178a2b19dac363a19383)

Change-Id: Ic75dcb63191d65df1b69724576392c0aaeb47728

8 years agoMerge "Clean up unnecessary build dependencies."
Stephen Hines [Tue, 26 Jan 2016 22:29:48 +0000 (22:29 +0000)]
Merge "Clean up unnecessary build dependencies."

8 years agoClean up unnecessary build dependencies.
Stephen Hines [Tue, 26 Jan 2016 22:04:35 +0000 (14:04 -0800)]
Clean up unnecessary build dependencies.

Bug: http://b/26797137

This change removes unneeded dependencies on libdl, libpthread,
libcutils, and even libc++.

Change-Id: Ifcb6f96c5b7d50dd6d1422e019ec14bde49a0fd6

8 years agoMerge "Remove Intrinsics.td from LOCAL_SRC_FILES"
Dan Willemsen [Tue, 26 Jan 2016 20:47:25 +0000 (20:47 +0000)]
Merge "Remove Intrinsics.td from LOCAL_SRC_FILES"

8 years agoRemove Intrinsics.td from LOCAL_SRC_FILES
Dan Willemsen [Tue, 26 Jan 2016 03:59:40 +0000 (19:59 -0800)]
Remove Intrinsics.td from LOCAL_SRC_FILES

The build system does not use *.td files in LOCAL_SRC_FILES. The
Intrinsics.gen generated file is already added to
LOCAL_GENERATED_SOURCES, with a dependency on Intrinsics.td.

To prevent typos, it's becoming a warning to add something to
LOCAL_SRC_FILES that is not used.

Change-Id: I50f0c56cd56235c6ec0cbb18aebb287ffd205db2

8 years agoam 039ace80: Remove ENABLE_TIMESTAMPS to ensure reproducible builds.
Stephen Hines [Tue, 13 Oct 2015 00:20:33 +0000 (00:20 +0000)]
am 039ace80: Remove ENABLE_TIMESTAMPS to ensure reproducible builds.

* commit '039ace80c6746a215b3ea7403e60183f4ce78239':
  Remove ENABLE_TIMESTAMPS to ensure reproducible builds.

8 years agoRemove ENABLE_TIMESTAMPS to ensure reproducible builds.
Stephen Hines [Thu, 24 Sep 2015 20:28:21 +0000 (13:28 -0700)]
Remove ENABLE_TIMESTAMPS to ensure reproducible builds.

Bug: 24349363

The use of __DATE__ makes this build hard to reproduce/diff.

Change-Id: I7d2b05bef53eac7084918f0781107bb920285bdf
(cherry picked from commit 3c19f5eec3bfcd1fcfda72cd02585569b42507a3)

8 years agoam 56a86487: am 00d8a031: Merge "Remove ENABLE_TIMESTAMPS to ensure reproducible...
Stephen Hines [Thu, 24 Sep 2015 22:01:22 +0000 (22:01 +0000)]
am 56a86487: am 00d8a031: Merge "Remove ENABLE_TIMESTAMPS to ensure reproducible builds."

* commit '56a8648717d2261a315e0627caf7282da8ea5f90':
  Remove ENABLE_TIMESTAMPS to ensure reproducible builds.

8 years agoam 00d8a031: Merge "Remove ENABLE_TIMESTAMPS to ensure reproducible builds."
Stephen Hines [Thu, 24 Sep 2015 21:55:42 +0000 (21:55 +0000)]
am 00d8a031: Merge "Remove ENABLE_TIMESTAMPS to ensure reproducible builds."

* commit '00d8a031e232d7e99e72429d87aabbd2cf265a8e':
  Remove ENABLE_TIMESTAMPS to ensure reproducible builds.

8 years agoMerge "Remove ENABLE_TIMESTAMPS to ensure reproducible builds."
Stephen Hines [Thu, 24 Sep 2015 21:47:12 +0000 (21:47 +0000)]
Merge "Remove ENABLE_TIMESTAMPS to ensure reproducible builds."

8 years agoRemove ENABLE_TIMESTAMPS to ensure reproducible builds.
Stephen Hines [Thu, 24 Sep 2015 20:28:21 +0000 (13:28 -0700)]
Remove ENABLE_TIMESTAMPS to ensure reproducible builds.

Bug: 24349363

The use of __DATE__ makes this build hard to reproduce/diff.

Change-Id: I7d2b05bef53eac7084918f0781107bb920285bdf

8 years agoam b4cc08a8: am 722ce25e: Merge "Don\'t force LLVM to be only built as 64-bit on...
Yabin Cui [Mon, 21 Sep 2015 20:13:07 +0000 (20:13 +0000)]
am b4cc08a8: am 722ce25e: Merge "Don\'t force LLVM to be only built as 64-bit on the host."

* commit 'b4cc08a8686b54ddcded456f8c319fc6872fa781':
  Don't force LLVM to be only built as 64-bit on the host.

8 years agoam 722ce25e: Merge "Don\'t force LLVM to be only built as 64-bit on the host."
Yabin Cui [Mon, 21 Sep 2015 20:04:56 +0000 (20:04 +0000)]
am 722ce25e: Merge "Don\'t force LLVM to be only built as 64-bit on the host."

* commit '722ce25ea30f8ee1512ea80ea47153cad14d757e':
  Don't force LLVM to be only built as 64-bit on the host.

8 years agoMerge "Don't force LLVM to be only built as 64-bit on the host."
Yabin Cui [Mon, 21 Sep 2015 19:57:28 +0000 (19:57 +0000)]
Merge "Don't force LLVM to be only built as 64-bit on the host."

8 years agoDon't force LLVM to be only built as 64-bit on the host.
Stephen Hines [Sat, 19 Sep 2015 02:03:33 +0000 (19:03 -0700)]
Don't force LLVM to be only built as 64-bit on the host.

We do need to force 64-bit if a host component is using libLLVM,
however, since we only have 64-bit prebuilts.

Change-Id: Iee0282973fc989e09c6811f5dff13a78c543bdda

8 years agoam 45b16b96: am c3899706: Merge "Clean up warning/error flags (especially for Windows)."
Stephen Hines [Thu, 10 Sep 2015 23:33:05 +0000 (23:33 +0000)]
am 45b16b96: am c3899706: Merge "Clean up warning/error flags (especially for Windows)."

* commit '45b16b96969c844ad6ad1e8d8a3d46723152142d':
  Clean up warning/error flags (especially for Windows).

8 years agoam c3899706: Merge "Clean up warning/error flags (especially for Windows)."
Stephen Hines [Thu, 10 Sep 2015 23:23:23 +0000 (23:23 +0000)]
am c3899706: Merge "Clean up warning/error flags (especially for Windows)."

* commit 'c389970618b0fd42a7689afc9cff529744c278ed':
  Clean up warning/error flags (especially for Windows).

8 years agoMerge "Clean up warning/error flags (especially for Windows)."
Stephen Hines [Thu, 10 Sep 2015 23:17:23 +0000 (23:17 +0000)]
Merge "Clean up warning/error flags (especially for Windows)."

8 years agoClean up warning/error flags (especially for Windows).
Stephen Hines [Thu, 10 Sep 2015 18:23:42 +0000 (11:23 -0700)]
Clean up warning/error flags (especially for Windows).

Change-Id: Ib31d461ec584827eb1dc96d47861499139517f36

8 years agoam b79d4f04: am 7b2c68b1: Merge "Fix darwin build due to deprecated sbrk declaration."
Stephen Hines [Thu, 10 Sep 2015 20:56:08 +0000 (20:56 +0000)]
am b79d4f04: am 7b2c68b1: Merge "Fix darwin build due to deprecated sbrk declaration."

* commit 'b79d4f042a1e4031b4307a984b7190bdf1b588c4':
  Fix darwin build due to deprecated sbrk declaration.

8 years agoam 6c9c9135: am cf19d2d4: Merge "Don\'t use -Werror on windows, since mingw generates...
Stephen Hines [Thu, 10 Sep 2015 20:54:27 +0000 (20:54 +0000)]
am 6c9c9135: am cf19d2d4: Merge "Don\'t use -Werror on windows, since mingw generates different warnings."

* commit '6c9c9135877679eaa44e10f5bb8c5d01742dfb5a':
  Don't use -Werror on windows, since mingw generates different warnings.

8 years agoam 73a772b2: am 3e061b94: Merge "Turn on -Werror for LLVM builds."
Stephen Hines [Thu, 10 Sep 2015 20:54:26 +0000 (20:54 +0000)]
am 73a772b2: am 3e061b94: Merge "Turn on -Werror for LLVM builds."

* commit '73a772b27c90dd5d7a64ae00aa658cff8b5ad35f':
  Turn on -Werror for LLVM builds.

8 years agoam 7b2c68b1: Merge "Fix darwin build due to deprecated sbrk declaration."
Stephen Hines [Thu, 10 Sep 2015 20:10:31 +0000 (20:10 +0000)]
am 7b2c68b1: Merge "Fix darwin build due to deprecated sbrk declaration."

* commit '7b2c68b1dbc77dccccc7907605ed195c0ee52de2':
  Fix darwin build due to deprecated sbrk declaration.

8 years agoMerge "Fix darwin build due to deprecated sbrk declaration."
Stephen Hines [Thu, 10 Sep 2015 20:03:27 +0000 (20:03 +0000)]
Merge "Fix darwin build due to deprecated sbrk declaration."

8 years agoFix darwin build due to deprecated sbrk declaration.
Stephen Hines [Thu, 10 Sep 2015 19:51:34 +0000 (12:51 -0700)]
Fix darwin build due to deprecated sbrk declaration.

Change-Id: I7f4884a36cdc6bc3b546ea84e27c7f8587799132

8 years agoam cf19d2d4: Merge "Don\'t use -Werror on windows, since mingw generates different...
Stephen Hines [Thu, 10 Sep 2015 18:25:50 +0000 (18:25 +0000)]
am cf19d2d4: Merge "Don\'t use -Werror on windows, since mingw generates different warnings."

* commit 'cf19d2d4068a4634e90136ab24a21928b90b489a':
  Don't use -Werror on windows, since mingw generates different warnings.

8 years agoMerge "Don't use -Werror on windows, since mingw generates different warnings."
Stephen Hines [Thu, 10 Sep 2015 18:18:52 +0000 (18:18 +0000)]
Merge "Don't use -Werror on windows, since mingw generates different warnings."

8 years agoDon't use -Werror on windows, since mingw generates different warnings.
Stephen Hines [Thu, 10 Sep 2015 18:15:44 +0000 (11:15 -0700)]
Don't use -Werror on windows, since mingw generates different warnings.

Change-Id: I9ffd8e906674d3a8e4870142cd4b6e64c186bef6

8 years agoam 3e061b94: Merge "Turn on -Werror for LLVM builds."
Stephen Hines [Thu, 10 Sep 2015 17:53:31 +0000 (17:53 +0000)]
am 3e061b94: Merge "Turn on -Werror for LLVM builds."

* commit '3e061b945423d85d97f9746228d17bc122b74d3c':
  Turn on -Werror for LLVM builds.

8 years agoMerge "Turn on -Werror for LLVM builds."
Stephen Hines [Thu, 10 Sep 2015 17:47:08 +0000 (17:47 +0000)]
Merge "Turn on -Werror for LLVM builds."

8 years agoTurn on -Werror for LLVM builds.
Stephen Hines [Wed, 9 Sep 2015 15:41:46 +0000 (08:41 -0700)]
Turn on -Werror for LLVM builds.

Change-Id: I7dee633c50714bd8e0d51b14ca7053b8293092ea

8 years agoam 591d7abc: am df45c6fa: Merge "Add platform support for building LLVMgold.so in...
Than McIntosh [Wed, 9 Sep 2015 15:24:14 +0000 (15:24 +0000)]
am 591d7abc: am df45c6fa: Merge "Add platform support for building LLVMgold.so in LLVM."

* commit '591d7abca716eab9ceb4535592aff3724be1e21e':
  Add platform support for building LLVMgold.so in LLVM.

8 years agoam df45c6fa: Merge "Add platform support for building LLVMgold.so in LLVM."
Than McIntosh [Wed, 9 Sep 2015 15:18:42 +0000 (15:18 +0000)]
am df45c6fa: Merge "Add platform support for building LLVMgold.so in LLVM."

* commit 'df45c6fab528be810ce98a41d6c3005f43ca0d2d':
  Add platform support for building LLVMgold.so in LLVM.

8 years agoMerge "Add platform support for building LLVMgold.so in LLVM."
Than McIntosh [Wed, 9 Sep 2015 15:11:26 +0000 (15:11 +0000)]
Merge "Add platform support for building LLVMgold.so in LLVM."

8 years agoam d9984c8e: am d933a4ab: Merge "Switch one other location from i386 -> x86_64 by...
Stephen Hines [Wed, 9 Sep 2015 15:01:49 +0000 (15:01 +0000)]
am d9984c8e: am d933a4ab: Merge "Switch one other location from i386 -> x86_64 by default."

* commit 'd9984c8efd8f3882ccbff46837cf9145a8625562':
  Switch one other location from i386 -> x86_64 by default.

8 years agoam d933a4ab: Merge "Switch one other location from i386 -> x86_64 by default."
Stephen Hines [Wed, 9 Sep 2015 14:52:49 +0000 (14:52 +0000)]
am d933a4ab: Merge "Switch one other location from i386 -> x86_64 by default."

* commit 'd933a4abfc2d09cc2ef98c0c2d7d2522dd0ee602':
  Switch one other location from i386 -> x86_64 by default.

8 years agoMerge "Switch one other location from i386 -> x86_64 by default."
Stephen Hines [Wed, 9 Sep 2015 14:45:49 +0000 (14:45 +0000)]
Merge "Switch one other location from i386 -> x86_64 by default."

8 years agoam fc312066: am 710367e4: Merge "Switch to x86_64 instead of i386 for default host...
Stephen Hines [Wed, 9 Sep 2015 14:44:00 +0000 (14:44 +0000)]
am fc312066: am 710367e4: Merge "Switch to x86_64 instead of i386 for default host compilation."

* commit 'fc312066d15e9b1bc57a78d4f67b7214f2265609':
  Switch to x86_64 instead of i386 for default host compilation.

8 years agoSwitch one other location from i386 -> x86_64 by default.
Stephen Hines [Wed, 9 Sep 2015 14:36:32 +0000 (07:36 -0700)]
Switch one other location from i386 -> x86_64 by default.

We have both config.h and llvm-config.h defining this same default
triple, but I only updated one of them in my previous change. This CL
updates the host llvm-config.h as well, so that no warnings are
generated for the mismatch.

Change-Id: I0fc30d97aca8d8ab3c66614c42733a9c0bd83373

8 years agoam 710367e4: Merge "Switch to x86_64 instead of i386 for default host compilation."
Stephen Hines [Wed, 9 Sep 2015 14:36:16 +0000 (14:36 +0000)]
am 710367e4: Merge "Switch to x86_64 instead of i386 for default host compilation."

* commit '710367e4409b4a333c76858d7ad19689dc8fa89b':
  Switch to x86_64 instead of i386 for default host compilation.

8 years agoMerge "Switch to x86_64 instead of i386 for default host compilation."
Stephen Hines [Wed, 9 Sep 2015 14:31:04 +0000 (14:31 +0000)]
Merge "Switch to x86_64 instead of i386 for default host compilation."

8 years agoAdd platform support for building LLVMgold.so in LLVM.
Than McIntosh [Mon, 24 Aug 2015 15:59:33 +0000 (11:59 -0400)]
Add platform support for building LLVMgold.so in LLVM.

Also includes:
- tweak to libLTO.so makefile to fix unresolved llvm symbols

Bug: 21616856
Change-Id: I8be690ee2da3aeff6804d818ed933d72b3ceba75

8 years agoam ca3d2441: am a7ecc42b: Merge "Remove last HOST_OS check"
Dan Willemsen [Fri, 4 Sep 2015 19:55:23 +0000 (19:55 +0000)]
am ca3d2441: am a7ecc42b: Merge "Remove last HOST_OS check"

* commit 'ca3d2441ed70ff44bd32987070ce8d824073f3ad':
  Remove last HOST_OS check

8 years agoam a7ecc42b: Merge "Remove last HOST_OS check"
Dan Willemsen [Fri, 4 Sep 2015 19:45:26 +0000 (19:45 +0000)]
am a7ecc42b: Merge "Remove last HOST_OS check"

* commit 'a7ecc42b0c7c8e94514189c00877f1ef061ce162':
  Remove last HOST_OS check

8 years agoMerge "Remove last HOST_OS check"
Dan Willemsen [Fri, 4 Sep 2015 19:34:46 +0000 (19:34 +0000)]
Merge "Remove last HOST_OS check"

8 years agoRemove last HOST_OS check
Dan Willemsen [Wed, 2 Sep 2015 20:38:35 +0000 (13:38 -0700)]
Remove last HOST_OS check

LOCAL_MODULE_HOST_OS is now enforced.

Bug: 23566667
Change-Id: Ib5de02bb9ecb305da1ea9ff09ff6fa062b7f8339

8 years agoam 1d424181: am dbb064a7: Merge "Stop checking HOST_OS, whitelist windows modules"
Dan Willemsen [Thu, 3 Sep 2015 00:39:32 +0000 (00:39 +0000)]
am 1d424181: am dbb064a7: Merge "Stop checking HOST_OS, whitelist windows modules"

* commit '1d424181c3517ac11981b13c3ba1317ea3d9577b':
  Stop checking HOST_OS, whitelist windows modules

8 years agoam dbb064a7: Merge "Stop checking HOST_OS, whitelist windows modules"
Dan Willemsen [Thu, 3 Sep 2015 00:32:18 +0000 (00:32 +0000)]
am dbb064a7: Merge "Stop checking HOST_OS, whitelist windows modules"

* commit 'dbb064a76edb1699f0a10dd1924f9af864bc1134':
  Stop checking HOST_OS, whitelist windows modules

8 years agoMerge "Stop checking HOST_OS, whitelist windows modules"
Dan Willemsen [Wed, 2 Sep 2015 22:50:19 +0000 (22:50 +0000)]
Merge "Stop checking HOST_OS, whitelist windows modules"

8 years agoStop checking HOST_OS, whitelist windows modules
Dan Willemsen [Wed, 19 Aug 2015 00:14:59 +0000 (17:14 -0700)]
Stop checking HOST_OS, whitelist windows modules

Bug: 23566667
Change-Id: If7a149c047ccd36c7789eda3c29d6cc8977ca6d6

8 years agoam a41df04d: (-s ours) am 800f6f4d: Merge "Use _WIN32 rather than WIN32."
Elliott Hughes [Thu, 27 Aug 2015 05:25:27 +0000 (05:25 +0000)]
am a41df04d: (-s ours) am 800f6f4d: Merge "Use _WIN32 rather than WIN32."

* commit 'a41df04d65e93d9f510f013359f81570403aa5eb':

8 years agoam f5638408: (-s ours) am 1c66361b: Merge "Add Android.mk for libLLVMFuzzer."
Dan Albert [Thu, 27 Aug 2015 05:25:26 +0000 (05:25 +0000)]
am f5638408: (-s ours) am 1c66361b: Merge "Add Android.mk for libLLVMFuzzer."

* commit 'f5638408fd5dafb68e7ce55186ef88daf8c1c18c':

8 years agoam 63edeb5f: (-s ours) am 613b4a60: Merge "The windows build now needs to link libole...
Stephen Hines [Thu, 27 Aug 2015 05:25:25 +0000 (05:25 +0000)]
am 63edeb5f: (-s ours) am 613b4a60: Merge "The windows build now needs to link libole32.dll as well."

* commit '63edeb5f2adba52103fb0fef48a4325ca2153d0f':

8 years agoam 0576bbbb: (-s ours) am a10bdf76: Merge "Update aosp/master LLVM for rebase to...
Stephen Hines [Thu, 27 Aug 2015 05:25:24 +0000 (05:25 +0000)]
am 0576bbbb: (-s ours) am a10bdf76: Merge "Update aosp/master LLVM for rebase to r239765"

* commit '0576bbbb7bd656cef01f5a4822b0fc1c5c38174f':

8 years agoam 2542d532: (-s ours) am c106219c: Merge "Just bundle everything for building libLTO."
Stephen Hines [Thu, 27 Aug 2015 05:25:23 +0000 (05:25 +0000)]
am 2542d532: (-s ours) am c106219c: Merge "Just bundle everything for building libLTO."

* commit '2542d5322022404513cf0852d9b3fb2c4c017531':

8 years agoam f48e3d3e: (-s ours) am f2bd4beb: Merge "Add support for building libLTO.so in...
Stephen Hines [Thu, 27 Aug 2015 05:25:21 +0000 (05:25 +0000)]
am f48e3d3e: (-s ours) am f2bd4beb: Merge "Add support for building libLTO.so in LLVM."

* commit 'f48e3d3eef8071f76115d8debbb1ca937dcd6604':

8 years agoam 41d6eb42: (-s ours) am bc133f4e: Merge "Remove unnecessary patches/ directory."
Stephen Hines [Thu, 27 Aug 2015 05:25:20 +0000 (05:25 +0000)]
am 41d6eb42: (-s ours) am bc133f4e: Merge "Remove unnecessary patches/ directory."

* commit '41d6eb423195090e3b301a1bb0c533b4e0d8e2e0':

8 years agoam f34525e0: (-s ours) am 8ccad4af: Merge "Prepare for the removal of HAVE_MALLOC_H...
Elliott Hughes [Thu, 27 Aug 2015 05:25:18 +0000 (05:25 +0000)]
am f34525e0: (-s ours) am 8ccad4af: Merge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."

* commit 'f34525e03f12f4351ac44d683e1f2a6d90de0f67':

8 years agoSwitch to x86_64 instead of i386 for default host compilation.
Stephen Hines [Mon, 24 Aug 2015 16:43:25 +0000 (09:43 -0700)]
Switch to x86_64 instead of i386 for default host compilation.

Change-Id: Icccf656bdf93b604d47ff2fc0d613ae53a79f222

8 years agoam 800f6f4d: Merge "Use _WIN32 rather than WIN32."
Elliott Hughes [Thu, 20 Aug 2015 21:55:11 +0000 (21:55 +0000)]
am 800f6f4d: Merge "Use _WIN32 rather than WIN32."

* commit '800f6f4dcb8ddcbc4ef4ce119892abf07852b233':
  Use _WIN32 rather than WIN32.

8 years agoam 800f6f4d: Merge "Use _WIN32 rather than WIN32."
Elliott Hughes [Thu, 20 Aug 2015 21:55:04 +0000 (21:55 +0000)]
am 800f6f4d: Merge "Use _WIN32 rather than WIN32."

* commit '800f6f4dcb8ddcbc4ef4ce119892abf07852b233':
  Use _WIN32 rather than WIN32.

8 years agoMerge "Use _WIN32 rather than WIN32."
Elliott Hughes [Thu, 20 Aug 2015 21:21:01 +0000 (21:21 +0000)]
Merge "Use _WIN32 rather than WIN32."

8 years agoUse _WIN32 rather than WIN32.
Elliott Hughes [Thu, 20 Aug 2015 21:05:14 +0000 (14:05 -0700)]
Use _WIN32 rather than WIN32.

The latter should only exist if you #include <ole.h>.

Change-Id: I0fcaaddb79e1f7ae721d5c6d6eb5c67e2a41fd14

8 years agoam 1c66361b: Merge "Add Android.mk for libLLVMFuzzer."
Dan Albert [Mon, 17 Aug 2015 22:51:06 +0000 (22:51 +0000)]
am 1c66361b: Merge "Add Android.mk for libLLVMFuzzer."

* commit '1c66361bd83651042366a8e95ffc1d0f7f808eac':
  Add Android.mk for libLLVMFuzzer.

8 years agoam 1c66361b: Merge "Add Android.mk for libLLVMFuzzer."
Dan Albert [Mon, 17 Aug 2015 22:50:27 +0000 (22:50 +0000)]
am 1c66361b: Merge "Add Android.mk for libLLVMFuzzer."

* commit '1c66361bd83651042366a8e95ffc1d0f7f808eac':
  Add Android.mk for libLLVMFuzzer.

8 years agoMerge "Add Android.mk for libLLVMFuzzer."
Dan Albert [Mon, 17 Aug 2015 22:32:58 +0000 (22:32 +0000)]
Merge "Add Android.mk for libLLVMFuzzer."

8 years agoAdd Android.mk for libLLVMFuzzer.
Dan Albert [Thu, 30 Jul 2015 20:13:38 +0000 (13:13 -0700)]
Add Android.mk for libLLVMFuzzer.

Bug: http://b/22850550
Change-Id: Icb531452b369ad1922112f677a4a302b282c8116

8 years agoam 613b4a60: Merge "The windows build now needs to link libole32.dll as well."
Stephen Hines [Sat, 15 Aug 2015 04:10:40 +0000 (04:10 +0000)]
am 613b4a60: Merge "The windows build now needs to link libole32.dll as well."

* commit '613b4a60f877f3a81a052b0aaa2e62ece2d43ee2':
  The windows build now needs to link libole32.dll as well.

8 years agoam 613b4a60: Merge "The windows build now needs to link libole32.dll as well."
Stephen Hines [Sat, 15 Aug 2015 04:10:17 +0000 (04:10 +0000)]
am 613b4a60: Merge "The windows build now needs to link libole32.dll as well."

* commit '613b4a60f877f3a81a052b0aaa2e62ece2d43ee2':
  The windows build now needs to link libole32.dll as well.

8 years agoMerge "The windows build now needs to link libole32.dll as well."
Stephen Hines [Sat, 15 Aug 2015 04:00:32 +0000 (04:00 +0000)]
Merge "The windows build now needs to link libole32.dll as well."

8 years agoThe windows build now needs to link libole32.dll as well.
Stephen Hines [Sat, 15 Aug 2015 03:58:51 +0000 (20:58 -0700)]
The windows build now needs to link libole32.dll as well.

Change-Id: I9eb59c99e6825458f4e608787e10459fe9c6ee00

8 years agoam a10bdf76: Merge "Update aosp/master LLVM for rebase to r239765"
Stephen Hines [Sat, 15 Aug 2015 02:23:09 +0000 (02:23 +0000)]
am a10bdf76: Merge "Update aosp/master LLVM for rebase to r239765"

* commit 'a10bdf76dd3a57cf21057d6c8f70e459c2942a45':
  Update aosp/master LLVM for rebase to r239765

8 years agoam a10bdf76: Merge "Update aosp/master LLVM for rebase to r239765"
Stephen Hines [Sat, 15 Aug 2015 02:22:55 +0000 (02:22 +0000)]
am a10bdf76: Merge "Update aosp/master LLVM for rebase to r239765"

* commit 'a10bdf76dd3a57cf21057d6c8f70e459c2942a45':
  Update aosp/master LLVM for rebase to r239765

8 years agoMerge "Update aosp/master LLVM for rebase to r239765"
Stephen Hines [Sat, 15 Aug 2015 02:04:57 +0000 (02:04 +0000)]
Merge "Update aosp/master LLVM for rebase to r239765"

8 years agoam c106219c: Merge "Just bundle everything for building libLTO."
Stephen Hines [Tue, 4 Aug 2015 22:54:39 +0000 (22:54 +0000)]
am c106219c: Merge "Just bundle everything for building libLTO."

* commit 'c106219c8fc9da44c62082f70635f911ed0eac4b':
  Just bundle everything for building libLTO.

8 years agoam c106219c: Merge "Just bundle everything for building libLTO."
Stephen Hines [Tue, 4 Aug 2015 22:51:37 +0000 (22:51 +0000)]
am c106219c: Merge "Just bundle everything for building libLTO."

* commit 'c106219c8fc9da44c62082f70635f911ed0eac4b':
  Just bundle everything for building libLTO.

8 years agoMerge "Just bundle everything for building libLTO."
Stephen Hines [Tue, 4 Aug 2015 22:36:09 +0000 (22:36 +0000)]
Merge "Just bundle everything for building libLTO."

8 years agoJust bundle everything for building libLTO.
Stephen Hines [Tue, 4 Aug 2015 22:29:52 +0000 (15:29 -0700)]
Just bundle everything for building libLTO.

This fixes the Mac build breakage.

Change-Id: I63c561d029e34cbd2a34b24f80c999875ae8c24f

8 years agoam f2bd4beb: Merge "Add support for building libLTO.so in LLVM."
Stephen Hines [Mon, 3 Aug 2015 21:47:16 +0000 (21:47 +0000)]
am f2bd4beb: Merge "Add support for building libLTO.so in LLVM."

* commit 'f2bd4beb60382d5219e3fa6901a9a29468a67f5c':
  Add support for building libLTO.so in LLVM.

8 years agoam f2bd4beb: Merge "Add support for building libLTO.so in LLVM."
Stephen Hines [Mon, 3 Aug 2015 21:08:30 +0000 (21:08 +0000)]
am f2bd4beb: Merge "Add support for building libLTO.so in LLVM."

* commit 'f2bd4beb60382d5219e3fa6901a9a29468a67f5c':
  Add support for building libLTO.so in LLVM.

8 years agoMerge "Add support for building libLTO.so in LLVM."
Stephen Hines [Mon, 3 Aug 2015 20:51:07 +0000 (20:51 +0000)]
Merge "Add support for building libLTO.so in LLVM."

8 years agoAdd support for building libLTO.so in LLVM.
Stephen Hines [Thu, 30 Jul 2015 07:42:26 +0000 (00:42 -0700)]
Add support for building libLTO.so in LLVM.

Bug: 21616856
Change-Id: Id6b9e5b91fb1b9e1ff73a096a4286b443bad0382

8 years agoam bc133f4e: Merge "Remove unnecessary patches/ directory."
Stephen Hines [Tue, 14 Jul 2015 23:11:46 +0000 (23:11 +0000)]
am bc133f4e: Merge "Remove unnecessary patches/ directory."

* commit 'bc133f4e8b95c10e067329152c3d7f968187bbfe':
  Remove unnecessary patches/ directory.

8 years agoam bc133f4e: Merge "Remove unnecessary patches/ directory."
Stephen Hines [Tue, 14 Jul 2015 23:11:32 +0000 (23:11 +0000)]
am bc133f4e: Merge "Remove unnecessary patches/ directory."

* commit 'bc133f4e8b95c10e067329152c3d7f968187bbfe':
  Remove unnecessary patches/ directory.

8 years agoMerge "Remove unnecessary patches/ directory."
Stephen Hines [Tue, 14 Jul 2015 22:42:51 +0000 (22:42 +0000)]
Merge "Remove unnecessary patches/ directory."

8 years agoRemove unnecessary patches/ directory.
Stephen Hines [Tue, 14 Jul 2015 02:30:37 +0000 (19:30 -0700)]
Remove unnecessary patches/ directory.

We don't use these patches, and all of the history is available directly
via git.

Change-Id: I064de1f73d426288431c3ea46a483f7e37619f63

8 years agoUpdate aosp/master LLVM for rebase to r239765
Pirama Arumuga Nainar [Wed, 1 Jul 2015 19:23:51 +0000 (12:23 -0700)]
Update aosp/master LLVM for rebase to r239765

Bug: 20140355: This rebase pulls the upstream fix for the spurious
warnings mentioned in the bug.

Change-Id: I7fd24253c50f4d48d900875dcf43ce3f1721a3da

8 years agoam 8ccad4af: Merge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."
Elliott Hughes [Wed, 8 Jul 2015 18:00:27 +0000 (18:00 +0000)]
am 8ccad4af: Merge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."

* commit '8ccad4af261ebfe705e9ec7f67d72410e6bc092c':
  Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h.

8 years agoam 8ccad4af: Merge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."
Elliott Hughes [Wed, 8 Jul 2015 17:59:44 +0000 (17:59 +0000)]
am 8ccad4af: Merge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."

* commit '8ccad4af261ebfe705e9ec7f67d72410e6bc092c':
  Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h.

8 years agoMerge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."
Elliott Hughes [Wed, 8 Jul 2015 17:32:50 +0000 (17:32 +0000)]
Merge "Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h."

8 years agoPrepare for the removal of HAVE_MALLOC_H from AndroidConfig.h.
Elliott Hughes [Wed, 8 Jul 2015 04:00:59 +0000 (21:00 -0700)]
Prepare for the removal of HAVE_MALLOC_H from AndroidConfig.h.

The device config.h is a good cleanup; the host side doesn't work
as well because of Mac OS, but it's no worse than the existing Mac OS
hacks.

Change-Id: I7a9dc089f03ae992c7463866a8b6c383ba0437e3

8 years agoam c3b07329: Merge "Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBU...
David Gross [Fri, 19 Jun 2015 18:09:12 +0000 (18:09 +0000)]
am c3b07329: Merge "Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG."

* commit 'c3b0732900953dc4d8f68ce41da35f4760933bb3':
  Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG.

8 years agoMerge "Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add...
David Gross [Fri, 19 Jun 2015 17:45:02 +0000 (17:45 +0000)]
Merge "Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG."

8 years agoReplace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUI...
David Gross [Fri, 12 Jun 2015 21:26:26 +0000 (14:26 -0700)]
Replace LLVM_ENABLE_ASSERTION with FORCE_BUILD_LLVM_DISABLE_NDEBUG, and add FORCE_BUILD_LLVM_DEBUG.

FORCE_BUILD_LLVM_DISABLE_NDEBUG and FORCE_BUILD_LLVM_DEBUG are
environment variables analogous to FORCE_BUILD_LLVM_COMPONENTS.

FORCE_BUILD_LLVM_DISABLE_NDEBUG compiles with -D_DEBUG -UNDEBUG.  This
has the effect of enabling assert() and certain internal behaviors
(e.g., various LLVM sanity checks).  FORCE_BUILD_LLVM_DISABLE_NDEBUG
must be set consistently during builds of llvm, clang, libbcc, and
slang to avoid undefined behavior.

FORCE_BUILD_LLVM_DEBUG compiles host code (but not device code) with -O0 -g.

Depends on similar changes in clang, libbcc, and slang.

Change-Id: Ic7cbfeb5fd97061c82a007324fb851eda2117f19

8 years agoam 93cc1f2b: Update llvm device version number to 3.6.
Stephen Hines [Wed, 17 Jun 2015 21:53:36 +0000 (21:53 +0000)]
am 93cc1f2b: Update llvm device version number to 3.6.

* commit '93cc1f2bebee328f8aceb8d9e07862fe44d6f346':
  Update llvm device version number to 3.6.

8 years agoUpdate llvm device version number to 3.6.
Stephen Hines [Thu, 21 May 2015 16:28:54 +0000 (09:28 -0700)]
Update llvm device version number to 3.6.

Bug: 20894851
Change-Id: Ic6deb626e2bad98d7420046e47b92556868dfe05
(cherry picked from commit e1977d0f8ca591f43fc0d3cba7e6a2b5ca7e22ff)

9 years agoam cc2bd110: Fix Android.mk files for plugins on darwin.
Stephen Hines [Mon, 8 Jun 2015 21:29:00 +0000 (21:29 +0000)]
am cc2bd110: Fix Android.mk files for plugins on darwin.

* commit 'cc2bd110643265cd06ab749ad2b3da58b4de66a3':
  Fix Android.mk files for plugins on darwin.

9 years agoam 05e0751a: Merge "Fix build break due to missing aarch64 components for x86."
Stephen Hines [Mon, 8 Jun 2015 21:13:32 +0000 (21:13 +0000)]
am 05e0751a: Merge "Fix build break due to missing aarch64 components for x86."

* commit '05e0751afbdfba48e492b81c5e4b2bcbae54ceeb':
  Fix build break due to missing aarch64 components for x86.