path: root/include/bcinfo
AgeCommit message (Collapse)AuthorFilesLines
2012-03-27Merge "Check infile arguments for BitcodeWrapperer."android-sdk-adt_r20aosp-new/tools_r20Stephen Hines1-1/+7
2012-03-26Check infile arguments for BitcodeWrapperer.Stephen Hines1-1/+7
It would be better to use a const reference for infile, but unfortunately, we must mutate it during the lifetime of BitcodeWrapperer - Seek() is the primary issue here. Since we don't want to use a non-const reference, we instead insert appropriate NULL checks into the various functions where infile is used. Change-Id: Ic408c9dba684b57237cc8e29fff61c103161f7b3
2012-03-24Switch optimization level from metadata to bitcode wrapper.Stephen Hines1-0/+11
Change-Id: Ieb547d38f2ad1c84af30717da9172d0ac928e52d
2012-03-21Work around buggy toolchains.Stephen Hines1-2/+2
Change-Id: I93756929c3910249c7aa4ff33d28fa3331b8af92
2012-03-21Update support for BitcodeWrapper using BitcodeWrapperer.Stephen Hines9-8/+698
This change uses a common helper library created for PNaCl, and adapts it for use with Android. We also add some new fields to the wrapper for the offline compiler version used to generate the bitcode. Change-Id: I04c4ee20b7b09a68a35cdda1891616ee482a0072
2012-03-01Enable debugging of RS code under GDBDaniel Malea1-0/+6
- 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 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-12-01Add support for handling a bitcode wrapper to Hines1-0/+91
BUG=5425905 Change-Id: I9902bc89bef221e86dfc904d6935ef2c2091de33
2011-08-17Support ForEach info in MetadataExtractor.Stephen Hines1-0/+17
BUG=5076887 Change-Id: Icfe1aebbc620df750279af19d10a624c4c760430
2011-08-04Provide legacy bitcode translation mechanism.Stephen Hines3-93/+189
BUG=4942491 Change-Id: I73e96ef7f27bbaa8740cad70a4b93a1e5137e87b
2011-07-18Extract BC metadata using a single call via bcinfo.Stephen Hines1-0/+93
BUG=4278636 Change-Id: I0f60d134e5e9209996b6bcf5f541d5497d7f2665