Change the argument of bccPrepareExecutable.

This is almost the last step of the refactoring process of
bccPrepareExecutable.  Now, we change the argument of
bccPrepareExecutable, and we will remove bccPrepareExecutableEx
later.
Merge "Extract BC metadata using a single call via bcinfo."
Remove unused APIs from libbcc.

BUG=4278636

Change-Id: I457e59efc525ad492008e1199a2bb98849eb98fa
Separate OLD_JIT code.

Either move Old JIT code into OldJIT directory or wrap them
with #if USE_OLD_JIT, so that we can remove Old JIT easily
in the future.

Change-Id: Id820cc2143ac4b7685460ba38258c664f4da495e
Initialize AsmPrinter for compiler.

It is required to initialize AsmPrinter for compiler
in order to generate machine code.  Without this commit,
libbcc will not work if we set USE_DISASSEMBLER to 0.

Change-Id: If6a18c82df5c8cab84fb26afd163152ed1307aa8
Refine the disassembler config code.

Change-Id: I7cd3923f0d185efef9cc43dfb5448380735d0ad9
merge in ics-release history after reset to master
Apply changes to migrate to llvm upstream r135568.

- Remove const qualifier for some llvm::Type variables,
  due to the change of the API.

- Update the relocation model setup code, since
  llvm::TargetMachine changes its API.

Change-Id: I87305d093d5b06870669b97228b66821addfaee4
Merge "Remove unused APIs from libbcc."
Fix Old JIT Disassembler

CurBufferPtr will be reset, so we should save FnEnd
before CurBufferPtr being reset.

Change-Id: I770cbeeee97b00f4523a93678b8a40cb670a645f
Merge "Refine the disassembler config code."
Merge "Apply changes to migrate to llvm upstream r135568."
Merge "Fix Old JIT Disassembler"
merge in ics-release history after reset to master
Add bccPrepareSharedObject

Unlike bccPrepareExecuteable, bccPrepareSharedObject does not
resolve external symbols; therefore it only generate cache file
not execuable.

Change-Id: I3ef093015a4f54011fbf298123cac2464230b408
keep history after reset
Fixbug remove symbol lookup at MCCacheWriter

Change-Id: I4755bc99a414653c897f26609ad1bdc640f571ea
Add const variants to matrix x vector multiply.

Change-Id: Ied372bb02de49f8a18f006c03d1b859130bc3bdc
merge in ics-release history after reset to master
merge in ics-release history after reset to master