OSDN Git Service

android-x86/external-llvm.git
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 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)

8 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.

8 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.

8 years agoFix Android.mk files for plugins on darwin.
Stephen Hines [Thu, 14 May 2015 18:11:09 +0000 (11:11 -0700)]
Fix Android.mk files for plugins on darwin.

Darwin uses a few different flags for this than Linux, and we missed this
when we updated the test builds recently.

Change-Id: I8a0e8bc18ef698a0ed933f96b2bce0653f4307e5
(cherry picked from commit 651de8d5ac0b28b10ad0259efc75cf6152dc13dc)

8 years agoMerge "Fix build break due to missing aarch64 components for x86."
Stephen Hines [Mon, 8 Jun 2015 20:48:20 +0000 (20:48 +0000)]
Merge "Fix build break due to missing aarch64 components for x86."

8 years agoFix build break due to missing aarch64 components for x86.
Stephen Hines [Mon, 8 Jun 2015 20:31:57 +0000 (13:31 -0700)]
Fix build break due to missing aarch64 components for x86.

Bug: 21702374

Intel's recent patches for AArch64 support on Intel devices broke fugu,
because they are using the same FORCE_BUILD_ARM define for both 32-bit
and 64-bit.

Change-Id: I4a37e719c9ad8773a653ec4114937eb13b1a0773

8 years agoam 690f94a7: Merge "add aarch64 codegen for x86_64 LLVM if specified"
Stephen Hines [Mon, 8 Jun 2015 20:08:06 +0000 (20:08 +0000)]
am 690f94a7: Merge "add aarch64 codegen for x86_64 LLVM if specified"

* commit '690f94a77cf19c6cc65b64e93490a3f49bc3197b':
  add aarch64 codegen for x86_64 LLVM if specified

8 years agoMerge "add aarch64 codegen for x86_64 LLVM if specified"
Stephen Hines [Mon, 8 Jun 2015 18:30:36 +0000 (18:30 +0000)]
Merge "add aarch64 codegen for x86_64 LLVM if specified"

8 years agoam 560a17f4: Update aosp/master LLVM with patches for fp16
Pirama Arumuga Nainar [Fri, 29 May 2015 00:28:46 +0000 (00:28 +0000)]
am 560a17f4: Update aosp/master LLVM with patches for fp16

* commit '560a17f4e3f8019a108abb7848a4735c59a43be0':
  Update aosp/master LLVM with patches for fp16

8 years agoam 2bffbbd0: Merge "Update aosp/master LLVM with patches for fp16"
Pirama Arumuga Nainar [Thu, 28 May 2015 20:16:18 +0000 (20:16 +0000)]
am 2bffbbd0: Merge "Update aosp/master LLVM with patches for fp16"

* commit '2bffbbd0ae47490a01529a5d9670067ae139b018':
  Update aosp/master LLVM with patches for fp16

8 years agoMerge "Update aosp/master LLVM with patches for fp16"
Pirama Arumuga Nainar [Thu, 28 May 2015 16:26:55 +0000 (16:26 +0000)]
Merge "Update aosp/master LLVM with patches for fp16"

8 years agoUpdate aosp/master LLVM with patches for fp16
Pirama Arumuga Nainar [Wed, 20 May 2015 19:55:36 +0000 (12:55 -0700)]
Update aosp/master LLVM with patches for fp16

Cherry-pick LLVM revisions r235191, r235215, r235220, r235341, r235363,
r235530, r235609, r235610, r237004

r235191 has a required bug-fix and the rest are all related to fp16.

Change-Id: I7fe8da5ffd8f2c06150885a54769abd18c3a04c6
(cherry picked from commit a18e6af1712fd41c4a705a19ad71f6e9ac7a4e68)

9 years agoam a4da2b64: Merge "Update llvm device version number to 3.6."
Stephen Hines [Thu, 21 May 2015 20:58:01 +0000 (20:58 +0000)]
am a4da2b64: Merge "Update llvm device version number to 3.6."

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

9 years agoMerge "Update llvm device version number to 3.6."
Stephen Hines [Thu, 21 May 2015 20:36:56 +0000 (20:36 +0000)]
Merge "Update llvm device version number to 3.6."

9 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

9 years agoUpdate aosp/master LLVM with patches for fp16
Pirama Arumuga Nainar [Wed, 20 May 2015 19:55:36 +0000 (12:55 -0700)]
Update aosp/master LLVM with patches for fp16

Cherry-pick LLVM revisions r235191, r235215, r235220, r235341, r235363,
r235530, r235609, r235610, r237004

r235191 has a required bug-fix and the rest are all related to fp16.

Change-Id: I7fe8da5ffd8f2c06150885a54769abd18c3a04c6

9 years agoam 2c3e0051: Update aosp/master LLVM for rebase to r235153
Pirama Arumuga Nainar [Wed, 20 May 2015 00:24:54 +0000 (00:24 +0000)]
am 2c3e0051: Update aosp/master LLVM for rebase to r235153

* commit '2c3e0051c31c3f5b2328b447eadf1cf9c4427442':
  Update aosp/master LLVM for rebase to r235153

9 years agoUpdate aosp/master LLVM for rebase to r235153
Pirama Arumuga Nainar [Wed, 6 May 2015 18:46:36 +0000 (11:46 -0700)]
Update aosp/master LLVM for rebase to r235153

Change-Id: I9bf53792f9fc30570e81a8d80d296c681d005ea7
(cherry picked from commit 0c7f116bb6950ef819323d855415b2f2b0aad987)

9 years agoam bf527ca3: Merge "Update aosp/master LLVM for rebase to r235153"
Pirama Arumuga Nainar [Fri, 15 May 2015 19:01:47 +0000 (19:01 +0000)]
am bf527ca3: Merge "Update aosp/master LLVM for rebase to r235153"

* commit 'bf527ca3741986130145a7219b208495424e788b':
  Update aosp/master LLVM for rebase to r235153

9 years agoMerge "Update aosp/master LLVM for rebase to r235153"
Pirama Arumuga Nainar [Fri, 15 May 2015 18:41:06 +0000 (18:41 +0000)]
Merge "Update aosp/master LLVM for rebase to r235153"

9 years agoam dd008e6a: Merge "Fix Android.mk files for plugins on darwin."
Stephen Hines [Thu, 14 May 2015 23:31:07 +0000 (23:31 +0000)]
am dd008e6a: Merge "Fix Android.mk files for plugins on darwin."

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

9 years agoMerge "Fix Android.mk files for plugins on darwin."
Stephen Hines [Thu, 14 May 2015 22:47:35 +0000 (22:47 +0000)]
Merge "Fix Android.mk files for plugins on darwin."

9 years agoUpdate aosp/master LLVM for rebase to r235153
Pirama Arumuga Nainar [Wed, 6 May 2015 18:46:36 +0000 (11:46 -0700)]
Update aosp/master LLVM for rebase to r235153

Change-Id: I9bf53792f9fc30570e81a8d80d296c681d005ea7

9 years agoFix Android.mk files for plugins on darwin.
Stephen Hines [Thu, 14 May 2015 18:11:09 +0000 (11:11 -0700)]
Fix Android.mk files for plugins on darwin.

Darwin uses a few different flags for this than Linux, and we missed this
when we updated the test builds recently.

Change-Id: I8a0e8bc18ef698a0ed933f96b2bce0653f4307e5

9 years agoam e1bc1458: Export all dynamic symbols for opt and bugpoint
Pirama Arumuga Nainar [Fri, 1 May 2015 19:00:17 +0000 (19:00 +0000)]
am e1bc1458: Export all dynamic symbols for opt and bugpoint

* commit 'e1bc145815f4334641be19f1c45ecf85d25b6e5a':
  Export all dynamic symbols for opt and bugpoint

9 years agoam b928ea3b: Add makefile for tools/bugpoint-passes
Pirama Arumuga Nainar [Fri, 1 May 2015 19:00:16 +0000 (19:00 +0000)]
am b928ea3b: Add makefile for tools/bugpoint-passes

* commit 'b928ea3b96fd7bb0945799da90b7b122968ddc53':
  Add makefile for tools/bugpoint-passes

9 years agoExport all dynamic symbols for opt and bugpoint
Pirama Arumuga Nainar [Thu, 23 Apr 2015 18:06:58 +0000 (11:06 -0700)]
Export all dynamic symbols for opt and bugpoint

bug 15433215

Command line options from an LLVM module are registered and stored in a
static global object in libLLVMSupport.  Linking the Hello module with
its own copy of libLLVMSupport meant this module's option was not
registered correctly.  This patch updates Hello's build rules to not
link with libLLVMSupport and libLLVMCore.

Given the above change, the Hello module still needs to find LLVM
symbols that it used to pull directly.  The second half of this patch
adds linker flag --export-dynamic to tools/opt and tools/bugpoint so
loaded modules can find LLVM symbols.

Other  notes:
- The linker flag is not added to the device build of opt.  No one
  should be running opt on the device, AFAIK.
- Other tools that load modules, such as llc, lli and even clang, would
  need this linker flag if they were to load modules correctly.  Now
  that we know how to fix the incorrect module loads, they can be fixed
  if the need arises.
- Remove a duplicate from opt's llvm_opt_STATIC_LIBRARIES.

All supported tests pass!

Cherry pick of https://android-review.googlesource.com/#/c/148017/ from
AOSP

Change-Id: Ib76507ccfeae37a368718c5a1fb69da337f4f964

9 years agoAdd makefile for tools/bugpoint-passes
Pirama Arumuga Nainar [Thu, 23 Apr 2015 18:06:25 +0000 (11:06 -0700)]
Add makefile for tools/bugpoint-passes

bug 15433215

Build BugpointPasses module for the host.  It is loaded by some bugpoint
tests.

Cherry pick https://android-review.googlesource.com/#/c/148016/ from
AOSP

Change-Id: I1c0450a63d5eb25cb9da9f07baaaceefd454def5