Apply changes to migrate to upstream (Dec 16th 2011)
- clang::ModuleLoader has changed the interface of loadModule.
- 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
- llvm::TargetMachine::createTargetMachine now takes a new
parameter for options, such as float ABI, soft float, and
no frame elimination, and etc.
Change-Id: I75e51da9d2265207060a449735342b426cedf243
4 files changed