summaryrefslogtreecommitdiffstats
path: root/bcinfo/BitReader_2_7
AgeCommit message (Collapse)AuthorFilesLines
2014-09-30Switch from __do_message -> std::error_category.Stephen Hines1-2/+2
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
2014-07-25Update libbcc for LLVM rebase to r212749.Stephen Hines2-100/+103
Change-Id: I40304090ada740c2451d32e01c7deed4f4c8c409
2014-05-30Update libbcc for LLVM 3.5 rebase (r209713).Stephen Hines1-4/+40
Change-Id: I0e882c84176d462958db05e4c9c10bfe995b8ed1
2014-04-23Update libbcc for 64-bit support.Tim Murray3-40/+34
Change-Id: I369a82eb6730a33c46b6700408952fe34020ca51
2014-04-07Add DISABLE_LLVM_DEVICE_BUILDS to libbcc.Tim Murray1-0/+2
Change-Id: Iaad7b2ea8eea6c89c1c1a3d0e145bbb7bf60c6b9
2014-02-19Update libbcc for LLVM 3.4 rebase.Stephen Hines2-347/+462
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
2013-06-13Update libbcc for LLVM merge to r183849.Stephen Hines1-1/+1
Remove unused param to readBytes(). Path.h -> PathV1.h Remove ability to load/run files from bcc tool. Change-Id: I07d735fb86638412f01c4f8285d56f45ca35b672
2013-03-04Updates for LLVM merge to r176139.Stephen Hines2-259/+326
Change-Id: I360ca25d87eb0799ce39c7612acf34d0b02fb7c1
2013-01-21Updates for LLVM merge to r171906 on 20130108.Stephen Hines3-106/+109
Change-Id: I096cb90103b19e3110ea562d60e5eb8ad48d9b67
2012-08-23Fix up libbcc for LLVM upstream merge to r162314.Stephen Hines1-1/+1
Change-Id: I0779cc0d80aedf948fe31a1a5f581c9712350753
2012-08-02Apply changes to migrate to LLVM-160668-20120724.Shih-wei Liao1-5/+16
Change-Id: I515f90ff6b7222f9e69481c21a10173e1b0b40d2
2012-03-05Apply changes to migrate to upstreamShih-wei Liao1-19/+38
- 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
2011-12-16Translate API 14 and 15 with BitReader 3.0Logan Chien1-2/+1
Change-Id: I9390b1d6df3db8cf65e0165d5270c38879980a03
2011-12-16Apply changes to migrate to upstream (Dec 16th 2011)Logan Chien1-5/+54
- 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
2011-11-22Forgot to update the HC->ICS translator too.Stephen Hines1-2/+2
BUG=5650262 Change-Id: Ie62a685684cd5ae32004598f92933541d8ecd268
2011-11-21Enhance host bcc to allow cross-compilation (eg. debug arm codegen on host):Andrew Hsieh1-0/+2
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-21Apply changes to migrate to LLVM upstream Oct 20th 2011.Logan Chien1-11/+11
- 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
2011-08-04Provide legacy bitcode translation mechanism.Stephen Hines7-0/+3409
BUG=4942491 Change-Id: I73e96ef7f27bbaa8740cad70a4b93a1e5137e87b