summaryrefslogtreecommitdiffstats
path: root/build
Commit message (Collapse)AuthorAgeFilesLines
* Fix multi-line hex dumping and add unit test.Ian Rogers2014-01-301-0/+1
| | | | Change-Id: I7657018fef5d9c17410a9a634db275555f180014
* Remove -D__STDC_FORMAT_MACROS.Ian Rogers2014-01-291-3/+0
| | | | | | Its either unnecessary (bionic) or defined globally for host builds. Change-Id: I2d6ebe7069545d8e2e66f13cb26887ab91b2202c
* Remove boot.art phony targetBrian Carlstrom2014-01-281-15/+3
| | | | Change-Id: Idb1e22828567fa2c89c2e0057d5bc65a70ba2f32
* Merge "art: PRODUCT_DEX_PREOPT_IMAGE_IN_DATA"Brian Carlstrom2014-01-281-0/+2
|\
| * art: PRODUCT_DEX_PREOPT_IMAGE_IN_DATABrian Carlstrom2014-01-181-0/+2
| | | | | | | | | | | | (cherry picked from commit 483236b6662f6671e4fd31279500af4f196e0ad3) Change-Id: I0f668dd8e3193f7d00618ff3d4535f39f5744dfd
* | Move __STDC_FORMAT_MACROS to a cflag.Ian Rogers2014-01-231-0/+3
| | | | | | | | | | | | | | | | | | Current inttypes.h don't define stdint printf formatting characters for C++ but in the future this will change. Rather than #define __STDC_FORMAT_MACROS at the point of inclusion (conventional) pass it as a cflag so there is a single place to remove the #define when conventions change. Change-Id: Ice2fb07e19d8fc06ebc534c903a2d02497c31b3d
* | Use macros to remove CFI information for MAC OS/XMark Mendell2014-01-211-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Place allocation macros inline for x86 as the macros aren't/can't go through the Linux/OSX normalizing macro wrappers. Switch to clang for OS/X host build thereby enabling -std=gnu++11 and -Wthread-safety. Remove the -Wstrict-aliasing numeric option as 3 is the default warning level and warning levels aren't supported by clang's command line. This builds as far as gtests which fail due to assumptions they would only ever compile on non-GCC with RTTI. Change-Id: Id0d83578e9b93b0f6aea5e9b8ddf2815f0dcd8aa Signed-off-by: Mark Mendell <mark.p.mendell@intel.com>
* | Fix bit-rot in clean-oat targetsBrian Carlstrom2014-01-201-0/+3
|/ | | | Change-Id: If7f1681b34284b16ace6bafdacc2a19a3268480c
* Build boot.art only if we are building the host toolchain.Ying Wang2013-12-171-1/+1
| | | | | | This fixed the Mac checkbuild. Change-Id: I88780cddf1fec6306e0c54b6d801a34b2ddafabf
* Move boot image generation to the build projectBrian Carlstrom2013-12-172-69/+12
| | | | Change-Id: I1c87640baa681ed5f0bc10bca8dc130895bb6a95
* LEB128 tests and performance measurements.Ian Rogers2013-11-141-0/+1
| | | | Change-Id: I1850a2ff9225cfab8f896619c212b1b55f03ae94
* Fix testing all valgrind tests and make errors abort.Ian Rogers2013-11-131-1/+2
| | | | Change-Id: I6185e26cf89fde6fc8642fd4f7c5285a6f33f835
* Allow host valgrind gtests to be run individually.Ian Rogers2013-11-131-0/+7
| | | | Change-Id: I80976600034046cb42e8565bfd38f75811d7a08e
* am 55ed56bd: Merge "Make missing DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES an ↵Brian Carlstrom2013-11-074-13/+13
|\ | | | | | | | | | | | | error" * commit '55ed56bd5ba912d6b91776046bee09e779c8d879': Make missing DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES an error
| * Make missing DEX2OAT_TARGET_INSTRUCTION_SET_FEATURES an errorBrian Carlstrom2013-11-064-13/+13
| | | | | | | | Change-Id: I3ca23e4db80c8ab8a86da6408cf38daccd4cfaf1
* | Don't force dex2oat run on dex2oat changesDave Allison2013-11-061-1/+1
|/ | | | | | | This was accidentally checked in on a previous CL. Bug: 11299025 Change-Id: I6c695dc891db9102fabd7805ee9480dfc41d0408
* Support hardware divide instructionDave Allison2013-11-053-4/+23
| | | | | | | | | | | | | | | | | | | | | Bug: 11299025 Uses sdiv for division and a combo of sdiv, mul and sub for modulus. Only does this on processors that are capable of the sdiv instruction, as determined by the build system. Also provides a command line arg --instruction-set-features= to allow cross compilation. Makefile adds the --instruction-set-features= arg to build-time dex2oat runs and defaults it to something obtained from the target architecture. Provides a GetInstructionSetFeatures() function on CompilerDriver that can be queried for various features. The only feature supported right now is hasDivideInstruction(). Also adds a few more instructions to the ARM disassembler b/11535253 is an addition to this CL to be done later. Change-Id: Ia8aaf801fd94bc71e476902749cf20f74eba9f68
* am 2b07096c: Fix Mac buildBrian Carlstrom2013-10-291-0/+3
|\ | | | | | | | | * commit '2b07096c1de5461339d9ea97869d33b5166544ae': Fix Mac build
| * Fix Mac buildBrian Carlstrom2013-10-291-0/+3
| | | | | | | | Change-Id: I2125cd9555c48ef69627f0824ae60759fc6ac853
* | am 661cc989: Merge "Make ART\'s run-test support Dalvik so we can remove ↵Brian Carlstrom2013-10-291-0/+10
|\ \ | |/ | | | | | | | | | | dalvik/tests" * commit '661cc989b99e8eed3929a79aee9e10cfb5aa4f1d': Make ART's run-test support Dalvik so we can remove dalvik/tests
| * Make ART's run-test support Dalvik so we can remove dalvik/testsBrian Carlstrom2013-10-281-0/+10
| | | | | | | | Change-Id: Iba4ddf39169346573c97b443d5d65c6b8963fd4b
* | Omit OatMethodOffsets for classes without compiled codeBrian Carlstrom2013-10-281-1/+2
| | | | | | | | Change-Id: If0d290f4aebc778ff12d8fed017c270ad2ac3220
* | Refactor ArenaBitVector to create more general BitVectorBrian Carlstrom2013-10-241-0/+1
| | | | | | | | Change-Id: Ib26f2884de9ce7d620048bdf5ed6dec639622e41
* | resolved conflicts for merge of b926b3c6 to dalvik-devBrian Carlstrom2013-10-111-0/+1
|\ \ | |/ | | | | Change-Id: Ic56131b49ddfa1ffbc9b50f15e79a0210bd07a41
| * am 920d7fd5: am ce88853a: Have JNI FindClass fall back to system ClassLoader ↵Brian Carlstrom2013-10-111-0/+1
| |\ | | | | | | | | | | | | | | | | | | Bug: 10994325 * commit '920d7fd575cc42b11b278f6bb10760f291db7e38': Have JNI FindClass fall back to system ClassLoader Bug: 10994325
| | * Have JNI FindClass fall back to system ClassLoaderBrian Carlstrom2013-10-101-0/+1
| | | | | | | | | | | | | | | | | | Bug: 10994325 Change-Id: Id0a46e78eecfe8a9eb91008765c4fff48697cc58
* | | am d910172d: Don\'t fail if llvm.mk is not available.Ying Wang2013-09-181-1/+2
|\ \ \ | |/ / | | | | | | | | | * commit 'd910172d7acc5d62617e40d1c264a8268eb75a7e': Don't fail if llvm.mk is not available.
| * | Don't fail if llvm.mk is not available.Ying Wang2013-09-181-1/+2
| |/ | | | | | | | | | | This enables doing dalvik minimal host build without external/llvm. Change-Id: I1f44f4d29b941086a79758c816674c9f9966eb31
* | Add valgrind support to compiler arena allocator.Mathieu Chartier2013-09-121-0/+1
|/ | | | Change-Id: Id9974301d3810bfac968ee562b01a11098e402c2
* Multi threaded hashed deduplication during compilation.Mathieu Chartier2013-09-031-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Moved deduplication to be in the compiler driver instead of oat writer. This enables deduplication to be performed on multiple threads. Also added a hash function to avoid excessive comparison of byte arrays. Improvements: Before (alloats host): real 1m6.967s user 4m22.940s sys 1m22.610s Thinkfree.apk (target mako): 0m23.74s real 0m50.95s user 0m9.50s system 0m24.62s real 0m50.61s user 0m10.07s system 0m24.22s real 0m51.44s user 0m10.09s system 0m23.70s real 0m51.05s user 0m9.97s system 0m23.50s real 0m50.74s user 0m10.63s system After (alloats host): real 1m5.705s user 4m44.030s sys 1m29.990s Thinkfree.apk (target mako): 0m23.32s real 0m51.38s user 0m10.00s system 0m23.49s real 0m51.20s user 0m9.80s system 0m23.18s real 0m50.80s user 0m9.77s system 0m23.52s real 0m51.22s user 0m10.02s system 0m23.50s real 0m51.55s user 0m9.46s system Bug: 10552630 Change-Id: Ia6d06a747b86b0bfc4473b3cd68f8ce1a1c7eb22
* Move output_stream files out of runtime.Ian Rogers2013-08-161-3/+3
| | | | | | Also move image_test and oat_test that are more writing tests. Change-Id: I6af1400d8e745bbf87f626ca87dae3e2d85b40f1
* Switch GCC -O flags, O3 non-debug, 01 debug.Ian Rogers2013-08-151-2/+4
| | | | | | Remove -fno-inline. Fix a missing #include. Change-Id: Idf87a14e39cc127749d4db41fb0e75c899f5d029
* C++11 support for ART.Mathieu Chartier2013-08-131-3/+1
| | | | | | | | | | We can now use auto, ranged based loops, etc.. This compiles, the phone boots, and the tests pass. Depends on: https://googleplex-android-review.googlesource.com/#/c/342487/ Change-Id: I8ba8ed47d2118e4711668c9c8f973a67beb261b2
* Add a systrace support for lock contention logging.Hiroshi Yamauchi2013-08-131-1/+2
| | | | | | | | | | - Now several ART executables like oatdump need to link with libcutils as the mutex code is shared among them. - The blocking thread ID and lock owner thread ID are passed to ScopedContentionRecorder in the correct order. Bug: 9986464 Change-Id: Id766de23fbc4af1d8ba2de051595e365b04f5ae7
* Systrace fixups and refactoring for TimingLoggerAnwar Ghuloum2013-08-091-0/+1
| | | | | | | | | Fixed systrace bounds for timing logger in GC. Refactored CumulativeLogger a bit to allow for multiple identical entries. Added ScopedSplit, now composes with explicit start/end/new splits. Adds some unit tests. Bug: 10036801 Change-Id: If0afb88b48ec3a1e19462ed354babb274a9517a7
* Added tests for SEA IR intermediate representation.Dragos Sbirlea2013-08-081-1/+2
| | | | Change-Id: Ibc55fc3d1f6f753381a9d508d250944c2c45531d
* Add tests for SEA IR types infrastructure.Dragos Sbirlea2013-08-071-1/+3
| | | | | | | | | | | | | type_data_test.cc: Tests the type store used to record info on the types of results from instructions. type_inferecen_visitor_test.cc: Tests type merging and related operations. Android.gtest.mk: Included new tests. type_inference_visitor.h/.cc: Marked function as const and made public. scoped_hashtable_test.cc: Included full header path in #include. Change-Id: I868461dcaed1e7f75db15958b83a3db7e17f6a64
* Restore build-art minimal buildBrian Carlstrom2013-08-021-2/+2
| | | | Change-Id: I0f4f2e8c6d2505a339cb9a1175d30ed9b229c45d
* am 025218c7: Clean up stlport usage.Elliott Hughes2013-07-303-10/+6
|\ | | | | | | | | * commit '025218c7e4330a4942b14f9a8f1f68bd3390261c': Clean up stlport usage.
| * Clean up stlport usage.Elliott Hughes2013-07-303-10/+6
| | | | | | | | Change-Id: I133cd88f1da37f6f801a9e07a78ae23b671cf4f1
* | Portable refactorings.Ian Rogers2013-07-301-1/+1
| | | | | | | | | | | | | | Separate quick from portable entrypoints. Move architectural dependencies into arch. Change-Id: I9adbc0a9782e2959fdc3308215f01e3107632b7c
* | Merge "Multiple-inclusion protection for Android.common.mk" into dalvik-devBrian Carlstrom2013-07-301-5/+7
|\ \
| * | Multiple-inclusion protection for Android.common.mkDragos Sbirlea2013-07-291-5/+7
| | | | | | | | | | | | Change-Id: I0d228dfacc87f0b50ab1414cb4a46f6010578834
* | | am 9004cb65: Allow MemMap to support empty map requestsBrian Carlstrom2013-07-291-0/+1
|\ \ \ | | |/ | |/| | | | | | | * commit '9004cb6591781d1e6c5ec6d7bc6dc99d9ecee124': Allow MemMap to support empty map requests
| * | Allow MemMap to support empty map requestsBrian Carlstrom2013-07-291-0/+1
| |/ | | | | | | | | | | | | Discovered trying to use ZipEntry::ExtractToMemMap on an empty preloaded-classes. Bug: 8659045 Change-Id: Icfbbe6b313e2d1ee708b44a8d8d354d6203fd669
* | Move assembler out of runtime into compiler/utils.Ian Rogers2013-07-291-7/+7
|/ | | | | | | Other directory layout bits of clean up. There is still work to separate quick and portable in some files (e.g. argument visitor, proxy..). Change-Id: If8fecffda8ba5c4c47a035f0c622c538c6b58351
* Fix cpplint whitespace/comments issuesBrian Carlstrom2013-07-261-1/+1
| | | | Change-Id: Iae286862c85fb8fd8901eae1204cd6d271d69496
* am 55c0ac85: Merge "Enable darwin target build for art."Brian Carlstrom2013-07-233-6/+10
|\ | | | | | | | | * commit '55c0ac8528fb07c9f0900013b828ee8c60120860': Enable darwin target build for art.
| * Enable darwin target build for art.Brian Carlstrom2013-07-233-6/+10
| | | | | | | | Change-Id: I8fc04258360d663d2fcd07c307fdfdd2981cdd19
* | am 05eecea7: Enable running cpplint.py on art C++ files when using mm and mmmBrian Carlstrom2013-07-191-0/+54
|\ \ | |/ | | | | | | * commit '05eecea70b64095db2bc5f9f8aef7475964a9d7b': Enable running cpplint.py on art C++ files when using mm and mmm