History log of /frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
bc656681ba7ce2a6eae3aded74f632fa2bd103d0 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
(cherry picked from commit 98137cca7eebca946b869b010fef2821c9bf4971)
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.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
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
1bd9f627fa0affb457507e86b0b6684c695fe726 18-Mar-2015 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r230699.

Change-Id: If6717d2df5cc74e7daa493a4be7ac891f8e4928f
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
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
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
579361346abc6696c805e3904a18178ebce4e4a3 26-Nov-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r222494.

Change-Id: Idebd60a98bbe62007086386e5497d1df7d901e3d
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
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
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
900c6c1f08f7c572125d7d39abe0f0f9eafbfa14 14-Aug-2014 Chris Wailes <chriswailes@google.com> Replace NULL macros with nullptr literals.

Change-Id: Id2311cda59dd42c74b3ed54d3ff6cfd509012738
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
f21590eae009b4f596d7e448d0b8e142c46fc382 16-Jul-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r212749.

Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
d0993af5b1337f8186dd9aedea2e138a919e02e9 16-Jul-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM rebase to r212749.

Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
a630078b32eb37a8de91ae09e26babf235d4fc9f 29-May-2014 Stephen Hines <srhines@google.com> Update libbcc for LLVM 3.5 rebase (r209713).

Change-Id: I0e882c84176d462958db05e4c9c10bfe995b8ed1
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
c2074caf075818abb6d3689ad924ca09f4a5ba1f 09-Apr-2014 Tim Murray <timmurray@google.com> Update libbcc for 64-bit support.

Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
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
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
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
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
d9216ebb9c114242b713cd4dad33b3a83eb86761 02-Mar-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r176139.

Change-Id: I360ca25d87eb0799ce39c7612acf34d0b02fb7c1
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
b730e239619a546d93e5926ea92d698ab77ec7f6 10-Jan-2013 Stephen Hines <srhines@google.com> Updates for LLVM merge to r171906 on 20130108.

Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
dd9c0baa7efb4b31dc2360c78759ece6ca81073f 24-Aug-2012 Stephen Hines <srhines@google.com> Fix up libbcc for LLVM upstream merge to r162314.

Change-Id: I0779cc0d80aedf948fe31a1a5f581c9712350753
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
8b5be8604307d0dd342235803dd45775830b84c6 03-Aug-2012 Shih-wei Liao <sliao@google.com> Apply changes to migrate to LLVM-160668-20120724.

Change-Id: I515f90ff6b7222f9e69481c21a10173e1b0b40d2
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.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
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
c7d67a701663191bcdab2416c11b69fae16d49fb 16-Dec-2011 Logan Chien <loganchien@google.com> Translate API 14 and 15 with BitReader 3.0

Change-Id: I9390b1d6df3db8cf65e0165d5270c38879980a03
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp
3bdc2a8fde18e9e82a1e6ccef1c7379ef57bca35 16-Dec-2011 Logan Chien <loganchien@google.com> Add bitcode reader 3.0 to libbcinfo.

Since LLVM 3.1 remove some auto upgrade code, the old bitcode
will become bitcode incompatible. So we have to add the
bitcode reader 3.0 to libbcinfo.

Change-Id: I3ac1a1132c361cb9251c0a4ac9782c8cc62df7ea
/frameworks/compile/libbcc/bcinfo/BitReader_3_0/BitcodeReader.cpp