• Home
  • History
  • Annotate
  • only in /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
History log of /frameworks/compile/libbcc/bcinfo/BitReader_2_7/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c360e4a27c87f3b06f4175a9e7dda25fab45fb5b 10-Aug-2017 Jiyong Park <jiyong@google.com> Mark libbcinfo as VNDK-SP

This lib is used by libRSDriver and libRS_internal which are vndk-sp
libraries. Therefore libbcinfo is also marked as vndk-sp. In doing so,
other static libraries that are used by libbcinfo are marked as
vendor_available:true.

Bug: 64425518
Test: BOARD_VNDK_VERSION=current m -j libbcinfo.vendor
Change-Id: I41c1d263eefa0747e5ed37b27cdfe500ba5abcc8
ndroid.bp
2d6f9f225f6d8d64fbbc7fbe28b4cc88c1855264 08-Feb-2017 Luis A. Lozano <llozano@google.com> Disable clang tidy checks under BitReader*.

We don't control those files. We cannot fix warnings in them.
No point in getting tidy warnings on them.

Bug: 26936282
Test: WITH_TIDY=1 WITH_STATIC_ANALYZER=1 mm has no more warnings.
Change-Id: I6bf3e5d266f19512b382bc39de9ce09946ec4e2d
ndroid.bp
d9758aaecf5093f2a506364f1bfc226b00aa72d0 13-Dec-2016 Colin Cross <ccross@android.com> Remove llvm-generated-headers

Generated headers are now part of llvm-defaults.

Test: mma -j
Change-Id: I23e5d93d8693d7dff99ae716e830d8712e752007
ndroid.bp
1d3ac5662519c1864922c2edfba7a0f7a3de16b3 07-Dec-2016 Colin Cross <ccross@android.com> Convert libbcc to Android.bp

See build/soong/README.md for more information.

Includes one small code change to replace
FORCE_BUILD_LLVM_DISABLE_NDEBUG with _DEBUG, which is set already in
llvm-defaults in external/llvm/soong/llvm.go when the environment
variable is set.

libbcc-targets.mk remains, it is still used by frameworks/rs/cpu_ref.

Reapplies Iec37d2c33020bb5702c27497ae343a8312601202 with libbcinfo's
version_script only applied on device builds, and only building 64-bit
for host.

Test: mma -j
Test: mma -j FORCE_BUILD_LLVM_COMPONENTS=true
Change-Id: I6a024929bf90368f81f47c72f0c48866efc0e635
ndroid.bp
ndroid.mk
7e4c6d72d977de3e3635bc7280f52ab737c1ad34 13-Dec-2016 Colin Cross <ccross@android.com> Revert "Convert libbcc to Android.bp"

This reverts commit 5a2d24e315d79f735eeb8b6560118f10edbd6b05.

Reason for revert: breaks mac build

Change-Id: I6429aaddea2c2cc1e71c5ab66d656392a112bd8f
ndroid.bp
ndroid.mk
5a2d24e315d79f735eeb8b6560118f10edbd6b05 07-Dec-2016 Colin Cross <ccross@android.com> Convert libbcc to Android.bp

See build/soong/README.md for more information.

Includes one small code change to replace
FORCE_BUILD_LLVM_DISABLE_NDEBUG with _DEBUG, which is set already in
llvm-defaults in external/llvm/soong/llvm.go when the environment
variable is set.

libbcc-targets.mk remains, it is still used by frameworks/rs/cpu_ref.

Test: mma -j
Test: mma -j FORCE_BUILD_LLVM_COMPONENTS=true
Change-Id: Iec37d2c33020bb5702c27497ae343a8312601202
ndroid.bp
ndroid.mk
f5b49a0ca149b09c8306b86db9f3aca703c4acd5 16-Sep-2016 Pirama Arumuga Nainar <pirama@google.com> Fix libbcc to compile with LLVM r275480

Bug: http://b/31320715

Test: Run RenderScript tests (host tests for slang and libbcc, RsTest,
CTS)

Change-Id: Id3f0d03ef019f9315216e7f7ac4cf60883719ad7
itcodeReader.cpp
8a019dd0040bedf5078e4d18e06a244a675b80e8 13-Aug-2016 Chih-Hung Hsieh <chh@google.com> Fix clang-tidy warnings in libbcc.

These are proposed changes, looking for upstream changes.
* Add explicit keyword to conversion constructors.
Bug: 28341362
* Use const reference type for read-only parameters.
Bug: 30407689
* Use const reference type for loop index variables to avoid unnecessary copy.
Bug: 30413223
* Use faster overloaded string find function.
Bug: 30411878
Test: build with WITH_TIDY=1

Change-Id: I2a083651ba7aa7cb1b88fb84738d7caf37b4f511
itReader_2_7.h
itcodeReader.cpp
7e920a716693033edf32a6fedd03798bbfbd85eb 29-Apr-2016 Chih-Hung Hsieh <chh@google.com> Fix google-explicit-constructor warnings.

Bug: 28341362
Change-Id: Ic1bb4f0eb47fa4f1b2118d0ed5bb668ba555c801
itcodeReader.cpp
f229c40f0d2da19985e68955aef1a06ce4121e63 07-Mar-2016 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r256229

http://b/26987366

Change-Id: Ib5459acda9c4e612948290d0f68456dd4dc414af
ndroid.mk
itcodeReader.cpp
6af50b75fc0132a9957f19a11357c446b4836b16 19-Aug-2015 Dan Willemsen <dwillemsen@google.com> Stop using HOST_OS, whitelist windows modules

Bug: 23566667
Change-Id: I7ef9d73b897788ed4c8a8d8ca9a582cc08af15f9
ndroid.mk
7648c3864074dd3954bd7402a8de2c271dcee186 15-Aug-2015 Stephen Hines <srhines@google.com> Merge "Update libbcc for LLVM rebase to r239765"
adfbff4a860c1ac71165332f40d23c5297d8d74d 07-Aug-2015 Dan Willemsen <dwillemsen@google.com> build: All paths are TOP-relative

No need to use $(LOCAL_PATH)/../../../../../external/llvm, just
external/llvm works.

Change-Id: Icfbd1eb3345b4b496d58c715970234537449c4c7
ndroid.mk
933b5a904f7215c692b41a1c0481f4ea5f4abde1 01-Jul-2015 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for LLVM rebase to r239765

Change-Id: I32e347ab622099adc0bb77f6da90c7f14fac4ef5
itcodeReader.cpp
98137cca7eebca946b869b010fef2821c9bf4971 06-May-2015 Pirama Arumuga Nainar <pirama@google.com> Update libbcc for rebase to LLVM r235153

Some changes related to GEP may impact us in the future:
- GEP constructors take an additional argument - the pointee type of the
resulting pointer. Update bitcode readers accordingly. They take
nullptr for now. This behavior should be retained at least for 3.x.
- Likewise, CreateStructGEP and CreateConstInBoundsGEP2_32 need the
pointee type argument. Passing nullptr for the extra argument for
now. According to commit message in r233938, passing nullptr may not
work in the future. Unlike the BitcodeReaders, we can pass the right
pointee type here. b/20886457 is created to track this issue.

Change-Id: I2450da1c36470fb9defd387d74360480c3e4bd2f
itcodeReader.cpp
5cb1f3949c5bdd43c84647920d147a6b8509e256 07-Apr-2015 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r233350.

- Remove direct calls/use of DataLayoutPass.
- Move BitcodeReader.h (declarations) into BitcodeReader.cpp files.
- Fix typed/untyped GEP.
- Add empty materializeMetadata(), since we don't defer it ever.
- Fix longstanding (but insconsequential) difference between
bitc::CST_CODE_INLINEASM and bitc::CST_CODE_INLINEASM_OLD.

Change-Id: I135e494beea2f5992db1cb5c038d52cced991e72
itcodeReader.cpp
itcodeReader.h
1bd9f627fa0affb457507e86b0b6684c695fe726 18-Mar-2015 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r230699.

Change-Id: If6717d2df5cc74e7daa493a4be7ac891f8e4928f
ndroid.mk
itReader_2_7.h
itcodeReader.cpp
itcodeReader.h
34edb8ad024934c13741550bc825c9b352453ad8 19-Dec-2014 Stephen Hines <srhines@google.com> Remember to mark functions as materializable (or they are only "declared").

Bug: 18761789

Several relevant changes were made to BitcodeReader that we failed to update
on the last rebase. This results in functions not being properly translated
to the latest bitcode revision (which then causes the compiler to fail).
BitcodeReader::isMaterializable() is dead code, so I removed it as part of
this change, along with a missed 0 -> nullptr update.

Change-Id: Ifa5dfe4b146e1469e937fda0a107bb2c21936071
itcodeReader.cpp
itcodeReader.h
579361346abc6696c805e3904a18178ebce4e4a3 26-Nov-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r222494.

Change-Id: Idebd60a98bbe62007086386e5497d1df7d901e3d
itReader_2_7.h
itcodeReader.cpp
itcodeReader.h
e7c5289801f9a6341cc993abf70cf4ac559317e4 02-Oct-2014 Stephen Hines <srhines@google.com> am 8f5c2a1c: Switch from __do_message -> std::error_category.

* commit '8f5c2a1c1392a6d6bdb5700f73eeadd7b01ea0b7':
Switch from __do_message -> std::error_category.
8f5c2a1c1392a6d6bdb5700f73eeadd7b01ea0b7 30-Sep-2014 Stephen Hines <srhines@google.com> Switch from __do_message -> std::error_category.

Bug: 14416410

The original class is just an implementation detail of libc++, and not
something we can depend on for other C++11 implementations (like mingw).

Change-Id: Ief34ff97c3877fed428998aff9d42a3f0634a6aa
itcodeReader.cpp
900c6c1f08f7c572125d7d39abe0f0f9eafbfa14 14-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: Id2311cda59dd42c74b3ed54d3ff6cfd509012738
itcodeReader.cpp
f21590eae009b4f596d7e448d0b8e142c46fc382 16-Jul-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r212749.

Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
itcodeReader.cpp
itcodeReader.h
d0993af5b1337f8186dd9aedea2e138a919e02e9 16-Jul-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r212749.

Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
itcodeReader.cpp
itcodeReader.h
a630078b32eb37a8de91ae09e26babf235d4fc9f 29-May-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM 3.5 rebase (r209713).

Change-Id: I0e882c84176d462958db05e4c9c10bfe995b8ed1
itcodeReader.cpp
c2074caf075818abb6d3689ad924ca09f4a5ba1f 09-Apr-2014 Tim Murray <timmurray@google.com> Update libbcc for 64-bit support.

Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
itReader_2_7.h
itcodeReader.cpp
itcodeReader.h
c6e6ee4392390c0888f808220adf33334e1f64a4 07-Apr-2014 Tim Murray <timmurray@google.com> Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.

Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
ndroid.mk
d724d097437f40a5689464429f948ec41e4a2415 11-Feb-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM 3.4 rebase.

Convert all bitcode readers to use error_code instead of bool + char* for
status returns.

Remove LinkOnceODRAutoHideLinkage, since it is now just a special case of
LinkOnceODRLinkage.

Handle the PassManager -> legacy::PassManager transition.

Change-Id: I33f0fe1c95436d35d02bc3f1b19b268f25f149d1
itcodeReader.cpp
itcodeReader.h
88f8c52abea50f411c3774c935a6a1e04d17c182 13-Jun-2013 Stephen Hines <srhines@google.com> Update libbcc for LLVM merge to r183849.

Remove unused param to readBytes().
Path.h -> PathV1.h
Remove ability to load/run files from bcc tool.

Change-Id: I07d735fb86638412f01c4f8285d56f45ca35b672
itcodeReader.cpp
d9216ebb9c114242b713cd4dad33b3a83eb86761 02-Mar-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r176139.

Change-Id: I360ca25d87eb0799ce39c7612acf34d0b02fb7c1
itcodeReader.cpp
itcodeReader.h
b730e239619a546d93e5926ea92d698ab77ec7f6 10-Jan-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r171906 on 20130108.

Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
itReader_2_7.h
itcodeReader.cpp
itcodeReader.h
dd9c0baa7efb4b31dc2360c78759ece6ca81073f 24-Aug-2012 Stephen Hines <srhines@google.com> Fix up libbcc for LLVM upstream merge to r162314.

Change-Id: I0779cc0d80aedf948fe31a1a5f581c9712350753
itcodeReader.cpp
8b5be8604307d0dd342235803dd45775830b84c6 03-Aug-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to LLVM-160668-20120724.

Change-Id: I515f90ff6b7222f9e69481c21a10173e1b0b40d2
itcodeReader.cpp
c73b5214fa71ef6e3378fa121bb8b6312d2e6d3b 05-Mar-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to upstream

- Following constants have been removed by the upstream,
so we have to define our version.

- bitc::FUNC_CODE_INST_UNWIND
- Intrinsic::eh_exception
- Intrinsic::eh_selector

- 'unwind' instruction has been removed by upstream.
Emitting 'landingpad' and 'resume' instead when readers
find 'unwind' instructions in bitcode.

- llvm::Attribute now is a class, not unsigned.
Adjust the way to use llvm::Attribute according to upstream.

Change-Id: Iecefbc17e29093e09ada60c928cc951de681ea98
itcodeReader.cpp
c7d67a701663191bcdab2416c11b69fae16d49fb 16-Dec-2011 Logan Chien <loganchien@google.com> Translate API 14 and 15 with BitReader 3.0

Change-Id: I9390b1d6df3db8cf65e0165d5270c38879980a03
ndroid.mk
be81e1078cd32c1c4a2b8f60e16e2c7760c2a353 16-Dec-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to upstream (Dec 16th 2011)

- Following constants has been removed from llvm::bitc by the
upstream, so we have to define our version.

- TYPE_BLOCK_ID_OLD 10
- TYPE_SYMTAB_BLOCK_ID_OLD 13
- TYPE_CODE_STRUCT_OLD 10

- CheckDebugInfoIntrinsics has been removed by the upstream,
so we have to copy it from lib/VMCore/AutoUpgrade.cpp

- llvm::TargetMachine::createTargetMachine now takes a new
parameter for options, such as float ABI, soft float, and
no frame elimination, and etc.

Change-Id: Ied522748bf92956d23f41a6195916eda1c19c589
itcodeReader.cpp
3e88bf7dfe2af63827099a7d5be0173cf4c74f4d 23-Nov-2011 Stephen Hines <srhines@google.com> Forgot to update the HC->ICS translator too.

BUG=5650262

Change-Id: Ie62a685684cd5ae32004598f92933541d8ecd268
itcodeReader.cpp
998ec839672c0cf56945c860a7cf9e29864599af 21-Nov-2011 Andrew Hsieh <andrewhsieh@google.com> Enhance host bcc to allow cross-compilation (eg. debug arm codegen on host):
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
ndroid.mk
bc9eb8fa13ee44d7bb46285e4c30da1236aefddf 21-Oct-2011 Logan Chien <loganchien@google.com> Apply changes to migrate to LLVM upstream Oct 20th 2011.

- StructType::isAnonymous is renamed to isLiteral.

- StructType::createNamed is renamed to create.

- ConstantExpr::getGetElementPtr and
ConstantExpr::getInboundsGetElementPtr is adopting llvm::ArrayRef.

- TargetRegistry and TargetSelect is moved from Target to Support.

- LLVMInitialize<TARGET>MCInfo, LLVMInitialize<TARGET>MCCodeGenInfo, and
LLVMInitialize<TARGET>MCSubtargetInfo has been unified by
LLVMInitialize<TARGET>TargetMC.

- llvm::setCodeModel is no longer available. Now we should pass the code
model to createTargetMachine.

- llvm::Linker::LinkerModules come with one addtional parameter (3rd),
which indicate that rather the source module should be destroyed or
not. Passing llvm::Linker::DestroySource should result in same
semantics as the old code.

Change-Id: I863f804893e528c9e6c7bf73737c17176277b18b
itcodeReader.cpp
932bc6e35bcef7adff05d890a9dcc7212426fb6a 28-Jul-2011 Stephen Hines <srhines@google.com> Provide legacy bitcode translation mechanism.

BUG=4942491

Change-Id: I73e96ef7f27bbaa8740cad70a4b93a1e5137e87b
ndroid.mk
itReader.cpp
itReader_2_7.h
itcodeReader.cpp
itcodeReader.h
MakeLists.txt
akefile