summaryrefslogtreecommitdiffstats
path: root/lib/Support
AgeCommit message (Collapse)AuthorFilesLines
2014-07-25Update libbcc for LLVM rebase to r212749.Stephen Hines2-4/+4
Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
2014-07-15Add override to force the CPU variant.Tim Murray1-0/+17
Change-Id: I5bed6d1c064c0e48b370acd3e9d3c2a5e39ffea4
2014-06-30Fix 64 bit issue in sha1.cJean-Luc Brouillet2-34/+34
Use uint32_t instead of unsigned long. Changed unsigned char to uint8_t for consistency. Note that the length is still a 32 bit value. At some point, we could change it to a 64 bit value. Change-Id: Ia3126ee46741d7ec5f6a249fd60b9951a416e929
2014-06-17Don't use bionic's sha1 functionality.Dan Albert1-4/+4
Bionic is getting rid of its SHA1 in favor of openssl's. Change-Id: Ia64e1f6bb9633fccdb5bb61c0d6e4af599b8c938
2014-05-30Only force MIPS to static relocation if they were using the default.Stephen Hines1-1/+3
Change-Id: Iddb83158f8862087cccea97e3ebcec980b8f044a
2014-05-20Fix missing include of Config.h.Stephen Hines1-0/+1
Without this include, we actually fail to configure a non-default target backend. This results in the ARM target never selecting NEON code (even when it is possible to use it). Change-Id: I8891461709ac6a8d174afc5c1def5648b83e6226
2014-05-16Remove unnecessary inheritance for CompilerConfig, as we switch to offline bcc.Stephen Hines3-128/+96
Change-Id: Id4a5be7b2b4627bfa7ef6279eb3b5b8e75915a7d
2014-05-06Use ARCH_ARM_HAVE_NEON define instead of cpuinfo to detect NEON support.Stephen Hines1-1/+5
Bug: 14595818 Without this, an ARM64 device may be picked up incorrectly as not having NEON available when running in 32-bit mode. Change-Id: Icddad4d5388022012b392020e15605ec5d601d5f
2014-05-05Remove Makefile->Header code generation from libbcc.Stephen Hines1-2/+0
These variables/defines are not often used and they complicate the use of target information in other Android libraries. Change-Id: I93dc71e17ae8ece1be46a3a609639ec8380cdaf9
2014-04-23Update libbcc for 64-bit support.Tim Murray2-3/+11
Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
2014-04-07Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.Tim Murray1-2/+2
Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
2014-03-21libbcc: disable more modules for arm64Colin Cross1-0/+3
Disable building libbccSupport and libbccRenderscript for 64-bit Change-Id: Ied29b4eb129f42b1d3ad0a6d71a683d28b3e14be
2013-08-07am a08768d4: am 48cd7454: Fix Windows build issues for libbcc.Stephen Hines2-53/+12
* commit 'a08768d46fa5e3087d0fbd288366c53495ee2773': Fix Windows build issues for libbcc.
2013-07-31Fix Windows build issues for libbcc.Stephen Hines2-53/+12
Add unimplemented versions of dlfcn.h functions. Remove OutputFile::CreateTemporary(), since it is unused. Remove unnecessary includes to prevent issues with missing libraries. Change-Id: I74bea72c8f174843e61faa8cac8bd6ae429a1bc0
2013-07-30Remove libbcc's dependence on mclinker.Stephen Hines4-546/+3
These features are no longer being used by libbcc, and static initializers from mclinker are conflicting with tool development (i.e. positional argument specifiers for the new bcc executable). Change-Id: I0da427034c50015607a59d4193547868fa9eeabf
2013-06-15Remove libbcc's dependence on mclinker.Stephen Hines4-551/+3
These features are no longer being used by libbcc, and static initializers from mclinker are conflicting with tool development (i.e. positional argument specifiers for the new bcc executable). Change-Id: I0da427034c50015607a59d4193547868fa9eeabf
2013-06-11Detect NEON availability at run-timeTobias Grosser1-6/+1
Change-Id: I75f408fc46be2f29c39d8c82e1c57ad4603b331b
2013-06-06Allow rs to tune for specific ARM CPUsTobias Grosser1-0/+3
This feature can be disabled with by setting 'debug.rs.arm-no-tune-for-cpu'. Change-Id: I61f9a170edfc514347fc88f5f515d1ba5cb812d9
2013-06-06Detect and enable hardware divisionsTobias Grosser1-0/+15
To understand the performance impact of hardware division it can be disabled by setting 'debug.rs.arm-no-hwdiv'. Change-Id: Ib731f38ba56472c96f5fc0f2125fcf6a9f3998b9
2013-05-06Adapt libbcc for LLVM/Clang/mclinker update.Stephen Hines3-22/+28
Change-Id: I80260f41b3c80e4cd260480ff32ee35a9215e39a
2013-04-30Add support for inline assembly parsing with libbcc.Stephen Hines1-0/+3
Change-Id: I9ca727aabaf99436abcd305d7c6b4d3ea7232d60
2013-03-25Fix header location for LLVMContext.h.Stephen Hines1-1/+1
Change-Id: I9a7da713925cfe4150658e426d58671eff40f3bc
2013-03-06Turn off +neonfp since it only hurts NEON performance.Stephen Hines1-3/+2
Also get rid of an unused define. Change-Id: I84a07f2f6269d701a5ce00aa0ce95cf8916db937
2013-02-14libbcc should know that ARCH_ARM_HAVE_THUMB_SUPPORT is always true.Elliott Hughes1-7/+2
Change-Id: I96ae70fed98d1bc4b6d67b1f9c869cff2f6eecc7
2013-01-11Apply changes to migrate on MCLinker 2.0.2-1.Shih-wei Liao2-1/+38
Change-Id: I8b25ad23c257e8a98069611dde525cc6d37e06e9
2012-12-17Apply changes to migrate on MCLinker 2.0.1.Shih-wei Liao3-88/+180
Change-Id: I6a3a4fac269a7dbec6ecbf06cccfddf08a03251b
2012-10-30bcc_compat - convert bitcode to shared object files.Stephen Hines1-1/+15
BUG: 7419958 Change-Id: Ie81203b460d60425780657b51ba3aba2b2b77e05
2012-09-21Support -z options in bcc::Linker.Shih-wei Liao1-0/+95
Change-Id: I1540510e1160177a531906e25ca437b6af62122d
2012-09-19Introduce ThumbCompilerConfig to compile for Thumb. BUG=6996910Shih-wei Liao1-7/+41
Change-Id: I7e36b4e451520b9e47915b983cad8a3040691829
2012-08-02Apply changes to migrate on MCLinker 1.4.0-phoenix.Shih-wei Liao1-1/+1
Change-Id: Ib83f08c7bb115a5824ee67e8fd7869641a6a561c
2012-07-27Remove MCLinker headers dependency.Shih-wei Liao1-1/+1
Change-Id: I265770d4157068a934c9ae9d42fdd621b2683a68
2012-07-27Fix McLinker and bcc::Linker default library search path.Shih-wei Liao1-18/+0
Shared objects, for example, libm.so, can not be found under the default search pathes (/usr.) This is because the sysroot cannot propagate its value to the default search pathes since it was given after the search pathes has been set. Change-Id: I5e138713d1c061de7ef6ac1599d8c036ed35b3f2
2012-07-23Add a flag kAppend in FileBase. BUG=6841435.Shih-wei Liao1-0/+4
Change-Id: I03613029e33867bc0ed731f232d1fc4b21c97dd9
2012-07-23Add kTruncate in FileBase. BUG=6841435.Shih-wei Liao2-2/+6
And remove O_TRUNC from the default flags to OutputFile. Change-Id: Id2ff6d5bac319d8be498e438eb3ef84e85573218
2012-07-23bcc::Disassemble() API. BUG=6841435.Shih-wei Liao3-94/+165
Change-Id: Ie249f47ba2856aac300061e53dfd34b3ada999f7
2012-07-22Include MIPS target disassembler. BUG=6841435.Shih-wei Liao1-0/+4
Change-Id: I1cab64a46d155ed1a95d0e9de68a8decb05e3766
2012-07-17Fix Mac build breakage: Remove 2nd, redundant including of llvm.Shih-wei Liao1-2/+2
Change-Id: Ic428ff290ffd1be11687d8bf1dfa7bc14bcf6a42
2012-07-17Linker funtionality based on MCLinker.Shih-wei Liao4-1/+336
Change-Id: I0c0d105a2538f1f8ccf9f6925c027b32da3c9ca8
2012-07-17Add MCLinker hooks to libbcc.Shih-wei Liao1-0/+2
Change-Id: I3f1260537d719f9501a1d6a140f02c258231b7c2
2012-07-16Properly turn NEON on.Stephen Hines1-5/+2
BUG=6830374 Without this patch, we will always crash on scripts that use reduced precision. Change-Id: If046d1a2a70db41bd1c2df8c57e9d7de713c4dc8
2012-07-16Revert "Add MCLinker hooks to libbcc."Shih-wei Liao1-2/+0
This reverts commit c441933658023404534825b8348f83650c8a15ee.
2012-07-16Add MCLinker hooks to libbcc.Shih-wei Liao1-0/+2
Change-Id: I18117700788b685642498f80bbe0433b2fa2d186
2012-07-12Refine SHA-1 related stuffs.Zonr Chang3-99/+82
1. Introduce libbcc.sha1.so instead of raw file libbcc.so.sha1 * Now tools/build/gen-sha1-stamp.py generated assembly contains symbols libbcc_so_SHA1 and libRS_so_SHA1 associated with their SHA-1 digests. * In that way, their SHA-1 information can be obtained via dlopen(). 2. Refine Sha1Helper to Sha1Util. 2. Remove unused tools/build/dataconvert.py by the way. Change-Id: I345e1a09e6206748fb8dfabf891154de97a063ec
2012-07-12Refine DebugHelper.h into Log.h.Zonr Chang6-6/+6
This removes USE_FUNC_LOGGER from libbcc-config.mk. Change-Id: Ia496d41388135706a501bd362075f53d1c0eb6aa
2012-07-12Make libbcc public.Zonr Chang11-0/+1631
This commit is not expected to change any functionality. Change-Id: I364e8bad32d946281b78b1ce36a1b26bf60e3055
2012-05-03Revert "Make libbcc public."Stephen Hines11-1623/+0
This reverts commit 80232dd16c0affb2afae01cde6c94abf23ac1ba8.
2012-05-03Revert "Refine DebugHelper.h into Log.h."Stephen Hines6-6/+6
This reverts commit b519fe3f1d780873608f41d69316054e05c7e918.
2012-05-03Revert "Refine SHA-1 related stuffs."Stephen Hines3-82/+99
This reverts commit 6378d8f50449d79b8937c238b968ceeb9dbd4ee1. Conflicts: Android.mk Change-Id: Ib8988583a0b916d21e9314e919269f02c4dd600e
2012-04-25Fix MAC build. Format requires %zu.Shih-wei Liao1-1/+1
Change-Id: Ic837fa67d12a0de385c2c6f79a8e641434884d72
2012-04-25Fix MAC build. Use %zu.Shih-wei Liao1-1/+1
Change-Id: If2b8fd73f86264bf39da3d17c598fec720c5e2f6