summaryrefslogtreecommitdiffstats
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2013-06-11Remove unused/stale tests and mark Android.mk not executable.Stephen Hines72-3233/+0
These tests are from the early days of libbcc (before it was even checked in to Android). They test specific features that didn't even make it into the first public release of RenderScript (and libbcc). Change-Id: If330c77e91917f7ab86c48591c39b26c587d90e0
2012-04-02Update one more spot for ARM-specific gdb.Stephen Hines1-1/+2
Change-Id: Ie4a25221c499a9e1cbd5c289d4afe5a2d34b162f
2012-04-02Translate x86->ARM + AOSP->JellyBean for RS debugging.Stephen Hines1-2/+2
Change-Id: Ib7890840f8a3b96080af069547c0181b94ddf705
2012-03-03Announce that bcc cannot generate executable.Shih-wei Liao1-27/+27
bccPrepareExecutable() is RS-specific object file generation. Moreover, the output of this function is not an executable like the one in realworld. It should not be used in bcc for the output type of executable. Change-Id: I0f7125b383fffb4189852e9e17384423ff15c258
2012-03-02Move bcc command from tests/ to tools/bcc/.Zonr Chang5-1445/+0
No functionality changed.
2012-03-01resolved conflicts for merge of 7c75d915 to masterStephen Hines37-4/+1831
Change-Id: I25c1dc90af679e2463abffd33ee8838b4727396f
2012-03-01Enable debugging of RS code under GDBDaniel Malea37-4/+1831
- Add/integrate GDBJITRegistrar support class for interfacing with GDB -- Once the GDBJITRegistrar is merged into LLVM trunk (and AOSP upgrades LLVM) all files GDB* should be removed, and replaced with appropriate includes - Basic [host|target]-side integration tests -- host-tests: use bcc driver and clang to verify gdb output -- target-tests: run skeleton apk on target and verify gdb output - Add support for optimization_level metadata in bcinfo, libbcc -- Disabled some LTO passes when optimization_level = 0 -- move register allocator registration after metadata inspection - Initial version of android-commands.py GDB plugin (for test infrastructure) -- relevant commands: load-android-app, run-android-app, start-android-app -- tested versions: gdb (7.2, 7.3), python (2.6, 2.7) - build 'bcc' driver tool by default in eng builds Change-Id: I99e0c11c8591c6d911632c1dcc82dd8fbe1244a8
2011-11-21Enhance host bcc to allow cross-compilation (eg. debug arm codegen on host):Andrew Hsieh2-1/+23
eg. bcc -C armv7-none-linux-gnueabi # generate ARMv7 bcc -C i686-unknown-linux # generate x86 (default on Goobuntu) Other targets are not supported at this moment. Change-Id: If2f1199656664327cf35cf6a3670136f48c42cad
2011-10-19Cherry-pick the useful part of Icf882af (Android.mk) and address earlier ↵Shih-wei Liao1-2/+1
comments. Change-Id: Iae992b05c714ec332b3931d46ad7a6ab246aee92
2011-07-30Finish the refactor work of bccPrepareExecutable.Logan Chien1-1/+1
Change-Id: I20c122811d26b26dfdd64132f7229e5f5baa6d1e
2011-07-19Remove unused APIs from libbcc.Stephen Hines2-1/+5
BUG=4278636 Change-Id: I457e59efc525ad492008e1199a2bb98849eb98fa
2011-07-11Use libbcc new api bccPrepareExecutableEx.Logan Chien1-1/+1
Change-Id: I60d71a673bf5c9433cc781b125cb43b4e1fa2c68
2011-01-14Redesign libbcc api.Logan2-125/+86
2011-01-07Remove bccLoadBinary and remove the outdated comments (Now, invokingShih-wei Liao1-2/+9
Compiler::readBC is before knowing cache hit or not.) Change-Id: I32fb075310abebdb3a7401a75fa76443d0a20c58
2011-01-07Rename bccCompileBC as bccPrepareExecutable. Reason: caching case doesn't ↵Shih-wei Liao1-1/+1
perform CompileBC. Change-Id: I940c7402126d5f7a513f504fb8c92698dc53a9dd
2011-01-07Fix readBC error. (Since the API semantics has been changed)Logan1-2/+4
2010-12-20Add modify time and crc32 to bccReadBC and cache header.Logan1-14/+22
2010-12-131. New caching deployment mechanism: Now use per-app cache directory.Shih-wei Liao1-1/+1
2. New cache naming. Change-Id: I2d11b4e587cf76471792abf2d292a0075dea74d1
2010-12-03Load cached file if bccReadBC returns negative int.Logan1-1/+3
2010-11-22Add message for the non-working disassembler.Shih-wei Liao1-0/+1
Change-Id: If5d559a3af0478216af8fece59720052f42a1a67
2010-11-17Add caching framework of binaries. Caching is not turned on for now. ARM & ↵Shih-wei Liao1-2/+2
relocation (todo) of logan Change-Id: I097e626b3c5d5dd4a37478144ce50f68d08d361d
2010-10-13Coding style fix, legal announcement.Zonr Chang3-52/+56
No new function added and semantics changed.
2010-09-20Add missing libdl so that bcc builds with gold on gLucid.Shih-wei Liao1-0/+2
Change-Id: I7515982e15a85608cdb27d8d81b1a4214b46123a
2010-08-19Fix sim build.Ying Wang1-4/+0
Note that this only makes the sim build green, but the built images won't work for sure: No libbcc.so, which depends on something else that can not build in sim mode. No x86 bitcode is generated as well, I believe. Change-Id: Idca8378427196622ac77cd56a38c6a160f03ba22
2010-06-07Fix simulator build.Shih-wei Liao1-0/+4
Change-Id: Ib7ddcb19cc45ee8db754223d986e4de16a00548f
2010-06-03Add missing libraries in order for gold to work.Jing Yu1-1/+1
gold is more strict than gnu ld. If A depends on libB directly, we must specify -lB at link time. Change-Id: Ie246f36436abb53b4208da8017e6da0bb230a91f
2010-05-07Make compiler class reentrant within a single processShih-wei Liao1-14/+14
Change-Id: I422947bbbf8667234794737d6632449ed4e5f193
2010-04-28Sync upstream to r102410.Shih-wei Liao2-26/+15
Re-turn on sdk. Change-Id: I91a890863989a67243b4d2dfd1ae09b843ebaeaf
2010-04-21Add missing libdl so that bcc builds with gold.Doug Kwan1-1/+1
Change-Id: I75b8bec6b5714e4d910d231886bfe7d1d9e9bfc3
2010-04-07libbccShih-wei Liao77-0/+4671
Change-Id: Ieaa3ebd5a38f370752495549f8870b534eeedfc5